I am using
<% @entry = Entry.find(params[:id]) %>
<%= image_tag url_for_file_column(''entry'',
''image'') %>
to show image info at my view.
it will show image AND PATH TO THE IMAGE, like,
/usr/local/my_path_to_rail_project/public/entry/entry_id/image_name,
How may I remove the path to the image?
Thanks.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---