if i use one of this two line: <%= link_to_image product.image_url, :action => :add_to_cart, :id => product %> <%= link_to image_tag product.image_url, :action => :add_to_cart, :id => product %> i think it will give me the same result ,but is there a different on use of this two and if yes what? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---