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

Update active_record_callbacks.md

Co-authored-by: Jonathan Hefner <jonathan@hefner.pro>
This commit is contained in:
Jesse Parsons 2020-05-18 14:32:56 -04:00 committed by Jesse Parsons
parent a31759ca20
commit 60474375ca

View file

@ -431,7 +431,7 @@ end
NOTE: The `:on` option specifies when a callback will be fired. If you
don't supply the `:on` option the callback will fire for every action.
Since using `after_commit` callback only on create, update, or delete is
Since using the `after_commit` callback only on create, update, or delete is
common, there are aliases for those operations:
* `after_create_commit`