Jon Dahl
Not a member
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 commented at 4:14 PMI'll test the patch on an app today, and add a new exception - ActiveRecord::DependentRecordError or something like that.
-
Jon Dahl commented at 3:45 PMBig 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...