Displaying 1 result from an estimated 1 matches for "my_unit".
Did you mean:
y_unit
2007 May 22
3
can I use acts_as_list with a has_many :through association
...he
unit.
>> activity_crystals = Activity.find_by_name("Molecular crystals")
>> activity_browning = Activity.find_by_name("Brownian motion")
>> activity_mixing = Activity.find_by_name("Temperature of mixing
>>water - TEEMSS demo")
>> my_unit = Unit.create(:name => "My First Unit", :description => "A
>>simple test unit to see if thenew associations work")
>> my_unit.activities.push(activity_crystals, activity_browning,
>>activity_mixing)
>> my_unit.activities.each { |a| puts "...