From 30016df82f892f621c4937f3aec397f8d4cb30f2 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Tue, 19 Feb 2019 20:43:59 +0900 Subject: 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] --- guides/source/active_record_callbacks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/active_record_callbacks.md') 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 -- cgit v1.2.3