From bd3059a633eba0746bb30678a06290fbf629aadb Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 31 Jul 2013 18:19:55 -0700 Subject: oops! :bomb: --- .../lib/active_record/associations/builder/collection_association.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/lib/active_record/associations/builder/collection_association.rb b/activerecord/lib/active_record/associations/builder/collection_association.rb index 708eceaa32..22e8479b71 100644 --- a/activerecord/lib/active_record/associations/builder/collection_association.rb +++ b/activerecord/lib/active_record/associations/builder/collection_association.rb @@ -63,7 +63,7 @@ module ActiveRecord::Associations::Builder when Proc ->(method, owner, record) { callback.call(owner, record) } else - ->(method,owner,record) { callback.send(method, owner, record) } + ->(method, owner, record) { callback.send(method, owner, record) } end end model.send "#{full_callback_name}=", callbacks -- cgit v1.2.3