Hi
I have this line of code:
<%= link_to "Add to cart", :controller => "car", :action => "add_to_cart", :car => car %>
when im in the add_to_cart method...how can i call the :car please?
@car = Car.new(params[:car])
doesnt work because it says im trying to stringify
I dont understand whats wrong because I used this to create new users and it worked fine.
By the way, car is my car object.
thnx