Displaying 1 result from an estimated 1 matches for "product_edit".
Did you mean:
product_dim
2005 Sep 22
5
Adding Categories to the Depot example in the Agile Rails book
Hi ya, I want to add categories to the depot example in the Agile rails
book.
These are my thoughts:
Create a new table called categories with id, title, description, and
image fields.
Add a new field to the products table called category_id
Create a model called Category with "has_many :products"
Now I should have a one to many link between the products and categories
tables?
Now