Q:

Rails image tag not accepting class

I have this in in my view
<%= image_tag("Logo.png"), :class => "logo" %>

How is this not working? I keep getting a syntax error saying its expecting a ) not a ,
Thanks

A:

Please try the code here:
<%= image_tag("logo.png", :class => "logo") %>

