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 K.