aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2019-02-19 16:47:17 +0530
committerGitHub <noreply@github.com>2019-02-19 16:47:17 +0530
commit6b69ae5149f03c2f81a795c085bce56ec18535ae (patch)
tree35ee385b0aa050e80c36da16714b0a87dde74832
parent84bd9adafde36d0192849649b86ffcd4e59e5e11 (diff)
parentb0f85c66e5086c3e1b575ac3ea26021bf48dd8a2 (diff)
downloadrails-6b69ae5149f03c2f81a795c085bce56ec18535ae.tar.gz
rails-6b69ae5149f03c2f81a795c085bce56ec18535ae.tar.bz2
rails-6b69ae5149f03c2f81a795c085bce56ec18535ae.zip
Merge pull request #35324 from sharang-d/patch-2
Update active_record_callbacks.md [ci skip]
-rw-r--r--guides/source/active_record_callbacks.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_callbacks.md b/guides/source/active_record_callbacks.md
index 4568b467ef..bdd74ddcbc 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 happen, 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 execute, an `Array` can be used. Moreover, you can apply both `:if` and `:unless` to the same callback.
```ruby
class Comment < ApplicationRecord