From 2e74177d0b61f872b773285471ff9025f0eaa96c Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Fri, 11 Apr 2008 16:04:11 +1200 Subject: Revert "Ensure that save on child object fails for invalid belongs_to association. Closes #11555. [rubyruy]" This reverts commit c67e985994362290308073ed2793dd8e7f2a76db. --- activerecord/lib/active_record/associations.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 3ea933875d..7d27b0607a 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -922,8 +922,6 @@ module ActiveRecord ) end - add_single_associated_save_callbacks(reflection.name) - configure_dependency_for_belongs_to(reflection) end -- cgit v1.2.3