How about http://dev.rubyonrails.org/ticket/3837 Add :dependent => :protect to has_many association (like ON DELETE RESTRICT).
It's really simple and I think it completes :dependent features to be like the FOREIGN KEY Constraints of the DBMS. Patch is minor and simple, and includes a test case. I've also tagged the bug appropriately. Thank you, Diego 2006/2/26, Michael Koziarski <[EMAIL PROTECTED]>: > Hey guys, > > We're now beginning to finalise rails 1.1, and we need to make sure > that we don't miss any heinous bugs. While we'll all be giving the > list a once over, we're only human and we're likely to miss things. > > So, if you have any tickets which you think need to be addressed, > please bring them up in this thread, or add a keyword of > needs_review. We're pretty keen on pushing out a 1.1 release pretty > soon, but we also want to get all the nasty bugs. > > -- > Cheers > > Koz > _______________________________________________ > Rails-core mailing list > Rails-core@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-core > _______________________________________________ Rails-core mailing list Rails-core@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-core