1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #15946 from jamesprior/patch-1

Update documentation for run_callbacks
This commit is contained in:
Rafael Mendonça França 2014-06-27 17:38:45 -03:00
commit 67d7dfd082

View file

@ -71,7 +71,8 @@ module ActiveSupport
# order.
#
# If the callback chain was halted, returns +false+. Otherwise returns the
# result of the block, or +true+ if no block is given.
# result of the block, nil if no callbacks have been set, or +true+
# if callbacks have been set but no block is given.
#
# run_callbacks :save do
# save