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:
commit
67d7dfd082
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue