aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Xie <jan.h.xie@gmail.com>2012-04-08 19:21:10 +0800
committerJan Xie <jan.h.xie@gmail.com>2012-04-08 19:21:10 +0800
commit2c72a4abde55c595f286defb84b37de1fdffb3a5 (patch)
tree37e32c292d636f9b46e7adc627be71ce23c27dc9
parentbcd22696585b6be6f088780b37195ad0b1ff0fde (diff)
downloadrails-2c72a4abde55c595f286defb84b37de1fdffb3a5.tar.gz
rails-2c72a4abde55c595f286defb84b37de1fdffb3a5.tar.bz2
rails-2c72a4abde55c595f286defb84b37de1fdffb3a5.zip
fix doc for ActiveSupport::Callbacks::Callback#define_conditional_callback
-rw-r--r--activesupport/lib/active_support/callbacks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb
index 6e36edee4f..2a569d9a9b 100644
--- a/activesupport/lib/active_support/callbacks.rb
+++ b/activesupport/lib/active_support/callbacks.rb
@@ -187,7 +187,7 @@ module ActiveSupport
# Compile around filters with conditions into proxy methods
# that contain the conditions.
#
- # For `around_save :filter_name, :if => :condition':
+ # For `set_callback :save, :around, :filter_name, :if => :condition':
#
# def _conditional_callback_save_17
# if condition