aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/callbacks.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-09-05 19:10:21 -0500
committerJoshua Peek <josh@joshpeek.com>2009-09-05 19:10:21 -0500
commit6dc9ad80e6ee4a581c5ace005632373fe7275c03 (patch)
tree03062826db52ad3f435c634f327028a89704cb26 /activerecord/lib/active_record/callbacks.rb
parentc6e0923245a2e50cd7e1db11741a66569bfd6812 (diff)
downloadrails-6dc9ad80e6ee4a581c5ace005632373fe7275c03.tar.gz
rails-6dc9ad80e6ee4a581c5ace005632373fe7275c03.tar.bz2
rails-6dc9ad80e6ee4a581c5ace005632373fe7275c03.zip
Fix warnings in AMo
Diffstat (limited to 'activerecord/lib/active_record/callbacks.rb')
-rw-r--r--activerecord/lib/active_record/callbacks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/callbacks.rb b/activerecord/lib/active_record/callbacks.rb
index 4a2ec5bf95..dd509b6c6a 100644
--- a/activerecord/lib/active_record/callbacks.rb
+++ b/activerecord/lib/active_record/callbacks.rb
@@ -227,7 +227,7 @@ module ActiveRecord
end
include ActiveSupport::Callbacks
- define_callbacks *CALLBACKS
+ define_callbacks(*CALLBACKS)
end
# Is called when the object was instantiated by one of the finders, like <tt>Base.find</tt>.