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.

Marshall's latest activity

Tuesday, January 06 2009
1282 has_many :dependent => :restrict was updated in Ruby on Rails
  • Marshall
    Marshall commented at 5:16 AM

    I should've posted a bit more information on the problem... if you have :dependent => :destroy on a different association that is defined before the :dependent ...

  • Marshall
    Marshall commented at 5:13 AM

    +1 on the idea. However I think there's a bug if you have other associations with :dependent => :destroy on the same model. See http://lists.rubyonrails.org/pi...