Displaying 1 result from an estimated 1 matches for "car_attribut".
Did you mean:
car_attributes
2009 Jul 08
0
accepts_nested_attributes_for and has_one
...1
>> d.car.attributes
=> {"model"=>"911", "driver_id"=>1, "created_at"=>Wed Jul 08 16:55:26
UTC 2009, "updated_at"=>Wed Jul 08 16:55:26 UTC 2009, "id"=>1,
"make"=>"Porshce"}
>> attrs = {:car_attributes => {:model => "Boxster"}}
=> {:car_attributes=>{:model=>"Boxster"}}
>> d.attributes = attrs
=> {:car_attributes=>{:model=>"Boxster"}}
>> d.car.attributes
=> {"model"=>"Boxster", "driver_id"=>1...