Displaying 1 result from an estimated 1 matches for "pricing_group".
Did you mean:
pricing_groups
2006 Aug 17
0
Editiing multiple has_many associations at once
I am search for a nice tidy solution to the following or if only to talk
the problem out aloud.
I have three tables
products
has_many :pricings
pricings
belongs_to :product
belongs_to :pricing_group
pricing_groups
had_many :pricings
I would like to have a single page where I can add/edit a product and on
the same page administer the pricing for that product for each pricing
group. e.g. Cost, Retail, Wholesale. Initially I thought this would be
fair easy but I have come unstuck.
Firstly...