search for: unit_act

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

Did you mean: unit_at
2007 May 22
3
can I use acts_as_list with a has_many :through association
...I''m using edge rails r6786. Here are my domain rules: Activities are things students can do. Units consists of a sequenced list of Activities. Activities can be used in many Units. Here are the associations for these rules: class Activity < ActiveRecord::Base has_many :unit_activities has_many :units, :through => :unit_activities end class Unit < ActiveRecord::Base has_many :unit_activities, :order => :position has_many :activities, :through => :unit_activities end class UnitActivity < ActiveRecord::Base belongs_to :activity belongs_to :uni...