search for: language_posit

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

2007 Jun 14
1
HABTM and acts_as_list
I don''t think this needs much explanation. Is what I''m trying to do even possible? class CreateLanguagesProducts < ActiveRecord::Migration create_table languages_products do |t| t.column :language_id, :integer t.column :product_id, :integer t.column :language_position, :integer end end class Language < ActiveRecord::Base acts_as_list :scope => :product has_and_belongs_to_many :products end class Product < ActiveRecord::Base has_and_belongs_to_many :languages, :order => WHAT GOES HERE? end -- Bill Kocik http://bkocik.net --~--~-------...