Is there a ruby embedded code replacement for something like this?
<%= image_tag item.image_url, :size => ‘200x150’ %>
Thanks,
Dan
Is there a ruby embedded code replacement for something like this?
<%= image_tag item.image_url, :size => ‘200x150’ %>
Thanks,
Dan
Hi, Dan,
have a look at the :popup option of the link_to helper:
http://api.rubyonrails.com/classes/ActionView/Helpers/UrlHelper.html#M000332
Best regards
Jan P.
Doh!! Don’t know how I missed that one.
Thanks,
Dan
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs