From: Georgy Daniel Date: 2012-10-30T21:10:55+09:00 Subject: Re: Erb syntax - unknown syntax I don't think it is associated with the if condition, here there is another instance of the '!' <%! require 'cgi' require 'json' ..................... ..................... %> Also here is the if condition block <%! if filmstrip_image_path.blank? %>
My Image
<%! end %> unknown wrote in post #1081950: > Am 30.10.2012 10:33, schrieb Georgy Daniel: >> okay what about the '!' in <%! if filmstrip_image_path.blank? %> > > Sorry, no clue. It doesn't seem to be a part of erb. > > I guess it should be parsed as a boolean `not'. > But to see whether that makes sense here, you would have > to provide more of the surrounding code, especially the > rest of the if statement. -- Posted via http://www.ruby-forum.com/.