From 2c72a4abde55c595f286defb84b37de1fdffb3a5 Mon Sep 17 00:00:00 2001 From: Jan Xie Date: Sun, 8 Apr 2012 19:21:10 +0800 Subject: fix doc for ActiveSupport::Callbacks::Callback#define_conditional_callback --- activesupport/lib/active_support/callbacks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport') 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 -- cgit v1.2.3