Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Callback chain stops on *true* block result (rdoc).

Relevant code (in CallbackChain#run):
  break result if terminator.call(result, object)
  • Loading branch information...
commit 8c7300ed5662810727d166081641b4edfed9f37c 1 parent abe2038
@mynyml mynyml authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/lib/active_support/callbacks.rb
View
2  activesupport/lib/active_support/callbacks.rb
@@ -237,7 +237,7 @@ def self.#{callback}_callback_chain # def self.be
# * the result from the callback
# * the object which has the callback
#
- # If the result from the block evaluates to false, the callback chain is stopped.
+ # If the result from the block evaluates to +true+, the callback chain is stopped.
#
# Example:
# class Storage
Please sign in to comment.
Something went wrong with that request. Please try again.