Very good suggestion Michael.. Thanks for your help.. I have deviated a 
little from the book, since there are more functions that I need to 
incorporate.. I tried putting it in the index def in the store 
controller, but no luck..  Tried putting the @cart.find_cart in the 
controller but no luck..  I believe the add_to_cart.js_rjs renders the 
cart partial.  Don't no why the index would render or look for it..

The add_to_cart function in the store controller is called by a button 
on the page 'showmodels'.  In the handbook the @cart.find_item is 
located in the add_to_cart function

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to