diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-19 20:43:59 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-19 20:44:06 +0900 |
commit | 30016df82f892f621c4937f3aec397f8d4cb30f2 (patch) | |
tree | d264a76dc0b85041f31f4b4f6b549b431da97715 /guides/source | |
parent | 6b69ae5149f03c2f81a795c085bce56ec18535ae (diff) | |
download | rails-30016df82f892f621c4937f3aec397f8d4cb30f2.tar.gz rails-30016df82f892f621c4937f3aec397f8d4cb30f2.tar.bz2 rails-30016df82f892f621c4937f3aec397f8d4cb30f2.zip |
Revert "Merge pull request #35324 from sharang-d/patch-2"
This reverts commit 6b69ae5149f03c2f81a795c085bce56ec18535ae, reversing
changes made to 84bd9adafde36d0192849649b86ffcd4e59e5e11.
Reason: We already use "happen" a lots for callbacks and validations.
https://github.com/rails/rails/pull/35324#issuecomment-465096483
[ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/active_record_callbacks.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_callbacks.md b/guides/source/active_record_callbacks.md index bdd74ddcbc..4568b467ef 100644 --- a/guides/source/active_record_callbacks.md +++ b/guides/source/active_record_callbacks.md @@ -340,7 +340,7 @@ end ### Combining Callback Conditions -When multiple conditions define whether or not a callback should execute, an `Array` can be used. Moreover, you can apply both `:if` and `:unless` to the same callback. +When multiple conditions define whether or not a callback should happen, an `Array` can be used. Moreover, you can apply both `:if` and `:unless` to the same callback. ```ruby class Comment < ApplicationRecord |