search for: ordersorder

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

Did you mean: orderorder
2007 Sep 05
8
Hi..Guys new plugin again
...if there is a position column in the child table, the parent association will be created with an order clause. For example, given a foreign-key from a order_id column 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...