Displaying 2 results from an estimated 2 matches for "productcolors".
Did you mean:
productcolor
2007 Jan 08
3
Relating Tables
...? He-Man
I need to display the ColorName to web visitors when they view
Products.
I can do a number of things:
1) put Color.ID into Product.Color1, Product.Color2 and Product.Color3.
These would be Foreign Keys and from what I read, RoR likes that.
2) Create a new table called ProductColors which would have an ID,
ColorID, and ProductID columns as used in many-to-many relations.
3) Use ColorName varchar in the Products table for Color1, Color2, and
Color3.
My actual database has a number of tables similar to Color, where all I
really need to do is link a varchar field to the Product...
2005 Oct 05
3
Shopping Cart: SKU and Product Confusion
Hi there,
I''m at a loss...
I was on the #ROR channel last night and spoke to a really helpful person
(Defiler) who gave me some direction on building a shopping cart.
Unfortunately, I wasn''t able to successfully get to where I need to go. This
is the predicament I am currently finding myself in:
I''m building a shopping cart for a client''s new website. They