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.

Phil C's latest activity

Wednesday, May 26 2010
4707 accepts_nested_attributes_for '_delete' feature broken in Rails 2.3.8 was updated in Ruby on Rails
  • Phil C
    Phil C commented at 11:39 PM

    eg:

    User.first.update_attributes(:addresses_attributes => {'0' => {:id => '1', :city => 'York', '_destroy' => '1'}})
    
  • Phil C
    Phil C commented at 11:37 PM

    There is a deprecation warning in 2.3.5. Use destroy instead of delete in 2.3.8