If your image is in the images folder under your public folder, you don't 
need to include anything before the "images/" part of the URL. So you can 
just do this:

<%= image_tag("freinds/user" + @users['id'].to_s + ".png") %> 

Also, you have "friends" spelled incorrectly. Not sure if that's intentional 
or not.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/dTMY8dTtHU8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to