Hi, I have a collection of photo objects that I want to render. My view looks something like this: <%= link_to(image_tag(photo.thumb_path), :action => ''show'', :id => photo.id) %> Where: photo.thumb_path() returns the full path of the thumbnail, say: /path_to_rails_app/public/assets/1/album/5/1156550545_thmb.jpg Unfortunately, the photo path is resolving to this in the browser: http://dev.mysite.com/opt/myapp/public/assets/1/album/5/1156550545_thmb.jpg? I don''t know where the hanging "?" is coming from. When I just call photo.thumb_path() there isn''t a "?". Also, is there a method to hide the path to the rails app? Hopefully someone can show me the painfully obvious thing(s) I''m doing wrong! Thanks! Joe -- 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 -~----------~----~----~----~------~----~------~--~---