search for: languages_products

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

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