diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-02-14 01:02:42 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-02-14 01:40:31 +0000 |
commit | db03308451497dd6c7fa6e531b378f63f0781e7c (patch) | |
tree | fac2f342160972c0583dfb6a1bbf2dc230565d6e /activerecord/lib/active_record/nested_attributes.rb | |
parent | 641a3068ea11c20e09358d6911404a265da32a9f (diff) | |
download | rails-db03308451497dd6c7fa6e531b378f63f0781e7c.tar.gz rails-db03308451497dd6c7fa6e531b378f63f0781e7c.tar.bz2 rails-db03308451497dd6c7fa6e531b378f63f0781e7c.zip |
Rename add_record_to_target_with_callbacks to add_to_target
Diffstat (limited to 'activerecord/lib/active_record/nested_attributes.rb')
-rw-r--r-- | activerecord/lib/active_record/nested_attributes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/nested_attributes.rb b/activerecord/lib/active_record/nested_attributes.rb index 16023defe3..fc68d7254a 100644 --- a/activerecord/lib/active_record/nested_attributes.rb +++ b/activerecord/lib/active_record/nested_attributes.rb @@ -413,7 +413,7 @@ module ActiveRecord if target_record existing_record = target_record else - association.send(:add_record_to_target_with_callbacks, existing_record) + association.send(:add_to_target, existing_record) end end |