On 25 May 2011 17:48, Caroline M. <[email protected]> wrote: > hi > > ive followed along the depot book. i have a products table, cart, > line_items. All works fine there with adding the products to the cart > etc. > > now ive added another table user_products table. i want the user to be > able to add these items to the cart also. but i dunno how to get this > working. i tried to add in user_product code anywhere i saw code for the > product table in the cart and line_item. also added that user_products > belong to line_items too in the model like what is used for the products > table.
What are the columns in the products table and in the user_products table? Colin -- 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.

