search for: product_product_categories

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

2007 Sep 05
8
Hi..Guys new plugin again
...olumn in an order_lines table containing a position column, to an id column in a orders table, the plugin creates: OrderLine.belongs_to :ordersOrder.has_many :lines, :order => :position The plugin also supports the creation of has_and_belongs_to_many associations. For example, given the tables product_product_categories with foreign- keys to both the product and product_categories tables, the plugin creates: Product.has_and_belongs_to_many :categoriesProductCategory.has_and_belongs_to_many :products And finally, notice that in one of the previous examples, the association name used for the Order.has_many is :line...