Displaying 1 result from an estimated 1 matches for "glavellus".
2006 May 26
3
Breakdowns in has_many abstraction
...#39;'s
going on here.
> @umbrellas = @person.umbrellas
=> [#<Umbrella:0x38d7218 @attributes={"name"=>"U. Horatio", "id"=>"1", "person_i
d"=>"1"}>, #<Umbrella:0x38d5ca0 @attributes={"name"=>"U. Glavellus", "id"=>"2",
"person_id"=>"1"}>]
> @umbrellas.each{|u| u.name = u.id.to_s}
=> [#<Umbrella:0x38d7218 @attributes={"name"=>"1", "id"=>"1", "person_id"=>"1"}>
, #<...