diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-05-19 00:39:24 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-05-19 00:39:24 -0300 |
commit | bd262b05c133fa325a83b933b16c4c2748bfbe64 (patch) | |
tree | ffbd6f3d6fa3434a5ef290f5fd5661e3e43aa7aa /activesupport/lib/active_support | |
parent | 303dca482e2b7041e920733fe7f791a10bdbb9fc (diff) | |
parent | ceb516d8123a2992a0017784cb2dd25c29356827 (diff) | |
download | rails-bd262b05c133fa325a83b933b16c4c2748bfbe64.tar.gz rails-bd262b05c133fa325a83b933b16c4c2748bfbe64.tar.bz2 rails-bd262b05c133fa325a83b933b16c4c2748bfbe64.zip |
Merge pull request #20195 from tgxworld/fix_grammar
Fix grammar. [CI SKIP]
Diffstat (limited to 'activesupport/lib/active_support')
-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: # |