search for: person_i

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

Did you mean: person_id
2006 May 26
3
Breakdowns in has_many abstraction
...he second problem, from a breakpoint I set in the update method. It illustrates some of the weirdness that''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&qu...