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.

Jon Dahl's latest activity

Wednesday, August 19 2009
3075 Add :dependent => :restricted to has_one and has_many was updated in Ruby on Rails
  • Jon Dahl
    Jon Dahl commented at 4:14 PM

    I'll test the patch on an app today, and add a new exception - ActiveRecord::DependentRecordError or something like that.

  • Jon Dahl
    Jon Dahl commented at 3:45 PM

    Big thanks for turning this into a "real" patch, Mike.

    Two small comments.

    First, the "else" path should be modified to list the :restrict option:

    raise Argumen...