<%= image_tag(\"/images/users/user_\" + @user_id.to_s + \".png\") %>
How do you check to see if there is such an image, and if not, then disp
You can use File.exist?.
if FileTest.exist?("#{RAILS_ROOT}/public/images/#{img}") image_check = image_tag("#{img}",options) else image_check = image_tag("products/noimg.gif", options) end