Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Sébastien Luquet's latest activity

Monday, October 05 2009
2777 Updating nested attributes with has_one relationship doesn't work correctly was updated in Ruby on Rails
  • Sébastien Luquet
    Sébastien Luquet commented at 2:34 PM

    Hi,

    Documentation is about update_attributes

    params = { :member' => { :avatar_attributes => { :id => '2', :icon => 'sad' } } }
    member.update_attributes params[...