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:
parent
a31759ca20
commit
60474375ca
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ end
|
||||||
NOTE: The `:on` option specifies when a callback will be fired. If you
|
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.
|
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:
|
common, there are aliases for those operations:
|
||||||
|
|
||||||
* `after_create_commit`
|
* `after_create_commit`
|
||||||
|
|
Loading…
Reference in a new issue