I have this line of code:
<%= link_to \"Add to cart\", :controller => \"car\", :action => \"add_to_cart\", :car => car %>
wh
Maybe try this:
<%= link_to "Add to cart", :controller => "car", :action => "add_to_cart", :car => car.attributes %>
But I'd really like to see where the car object is getting setup for this page (i.e., the rest of the view).