search for: bom_us

Displaying 1 result from an estimated 1 matches for "bom_us".

Did you mean: bomus
2008 Apr 09
3
help with model relationship for Product/Bill of Materials
I am struggling to find the best way to set up relationships to achieve this so that it fits the rails idioms. I have a table of products and I want to be able to create a bill of materials for a product.. So a product can either be a single item, or a package consisting of several other products. I have created a table: ---- class BomItem < ActiveRecord::Base belongs_to :product