okay what about the '!' in  <%! if filmstrip_image_path.blank? %>


unknown wrote in post #1081937:
> Am 30.10.2012 05:59, schrieb Georgy Daniel:
>> Hi, I am a very beginner on Ruby and related stuff, Could you please
>> tell me
>> what a tag like this "<%!" means in the following code. Also, I would
>> really appreciate if you can give me some ref to erb templates.
>
> The official documentation can be found here:
> http://www.ruby-doc.org/stdlib-1.9.3/libdoc/erb/rdoc/ERB.html
>
> or use `ri ERB' in the command line.
>
>> <%! if filmstrip_image_path.blank? %>
>>
>>
>> Also what does this '?' do in the above code
>
> It's just part of the method name `blank?'.
> By convention, methods with a name ending with
> a question mark return a boolean value, false or true.

-- 
Posted via http://www.ruby-forum.com/.