diff options
author | Guo Xiang Tan <tgx_world@hotmail.com> | 2015-05-19 11:14:46 +0800 |
---|---|---|
committer | Guo Xiang Tan <tgx_world@hotmail.com> | 2015-05-19 11:14:46 +0800 |
commit | ceb516d8123a2992a0017784cb2dd25c29356827 (patch) | |
tree | ffbd6f3d6fa3434a5ef290f5fd5661e3e43aa7aa /activesupport | |
parent | 303dca482e2b7041e920733fe7f791a10bdbb9fc (diff) | |
download | rails-ceb516d8123a2992a0017784cb2dd25c29356827.tar.gz rails-ceb516d8123a2992a0017784cb2dd25c29356827.tar.bz2 rails-ceb516d8123a2992a0017784cb2dd25c29356827.zip |
Fix grammar. [CI SKIP]
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/callbacks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index 814fd288cf..e8ab3a7db5 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -638,7 +638,7 @@ module ActiveSupport # set_callback :save, :after, :after_meth, if: :condition # set_callback :save, :around, ->(r, block) { stuff; result = block.call; stuff } # - # The second arguments indicates whether the callback is to be run +:before+, + # The second argument indicates whether the callback is to be run +:before+, # +:after+, or +:around+ the event. If omitted, +:before+ is assumed. This # means the first example above can also be written as: # |