diff options
author | Shodai Suzuki <info@soartec-lab.work> | 2019-02-19 13:31:25 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-19 13:31:25 +0900 |
commit | 02e6abd8fd5ad883fd2f29fd5850e650dd121805 (patch) | |
tree | 8b1a4c66ea6f121200148c32c83c38b2d0032db1 /guides/source/active_record_validations.md | |
parent | d28548603244347cf97aa7021c54ea1eff75c9c4 (diff) | |
download | rails-02e6abd8fd5ad883fd2f29fd5850e650dd121805.tar.gz rails-02e6abd8fd5ad883fd2f29fd5850e650dd121805.tar.bz2 rails-02e6abd8fd5ad883fd2f29fd5850e650dd121805.zip |
Delete documentation inconsistency 'finally' for AR callbacks [ci skip] (#35303)
Diffstat (limited to 'guides/source/active_record_validations.md')
-rw-r--r-- | guides/source/active_record_validations.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_validations.md b/guides/source/active_record_validations.md index 0fda7c5cfd..0c57802188 100644 --- a/guides/source/active_record_validations.md +++ b/guides/source/active_record_validations.md @@ -934,7 +934,7 @@ end ### Using a Proc with `:if` and `:unless` -Finally, it's possible to associate `:if` and `:unless` with a `Proc` object +It is possible to associate `:if` and `:unless` with a `Proc` object which will be called. Using a `Proc` object gives you the ability to write an inline condition instead of a separate method. This option is best suited for one-liners. |