Announcement (2017-05-07): www.ruby-forum.com is now read-only since I
unfortunately do not have the time to support and maintain the forum any
more. Please see rubyonrails.org/community and ruby-lang.org/en/community
for other Rails- und Ruby-related community platforms.

I would like to use an instance variable as the source in my image tag.
Is something like this possible? For example:
<%= image_tag(@new_image) %>
linked to an action that uses a model with:
@new_image = "some_image.jpg"