aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2008-04-11 16:04:11 +1200
committerMichael Koziarski <michael@koziarski.com>2008-04-11 16:04:11 +1200
commit2e74177d0b61f872b773285471ff9025f0eaa96c (patch)
treefd87aba4296290394e536ee0549aa33d8a19fe78 /activerecord/lib/active_record
parented99dda174da439a0947cdabea3babf027c672ac (diff)
downloadrails-2e74177d0b61f872b773285471ff9025f0eaa96c.tar.gz
rails-2e74177d0b61f872b773285471ff9025f0eaa96c.tar.bz2
rails-2e74177d0b61f872b773285471ff9025f0eaa96c.zip
Revert "Ensure that save on child object fails for invalid belongs_to association. Closes #11555. [rubyruy]"
This reverts commit c67e985994362290308073ed2793dd8e7f2a76db.
Diffstat (limited to 'activerecord/lib/active_record')
-rwxr-xr-xactiverecord/lib/active_record/associations.rb2
1 files changed, 0 insertions, 2 deletions
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