Browse files

fix doc for ActiveSupport::Callbacks::Callback#define_conditional_cal…

…lback
  • Loading branch information...
1 parent bcd2269 commit 2c72a4abde55c595f286defb84b37de1fdffb3a5 @janx janx committed Apr 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/callbacks.rb
View
2 activesupport/lib/active_support/callbacks.rb
@@ -187,7 +187,7 @@ def apply(code)
# 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

0 comments on commit 2c72a4a

Please sign in to comment.