diff options
Diffstat (limited to 'activerecord/lib/active_record/associations.rb')
-rwxr-xr-x | activerecord/lib/active_record/associations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index cbdb145078..fc186f806c 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -940,7 +940,7 @@ module ActiveRecord ) end - add_single_associated_save_callbacks(reflection.name) unless options[:validate] == false + add_single_associated_save_callbacks(reflection.name) if options[:validate] == true configure_dependency_for_belongs_to(reflection) end |