diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-08-17 16:40:07 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-08-19 19:52:46 +0530 |
commit | eb11e350e4f6f8a102762820cf3b328e0870f5e1 (patch) | |
tree | 37dcdbefe771da7fab9a8e42001733a963c33aa8 /guides | |
parent | a0b948e9f554979282baff6464944a33e4f89883 (diff) | |
download | rails-eb11e350e4f6f8a102762820cf3b328e0870f5e1.tar.gz rails-eb11e350e4f6f8a102762820cf3b328e0870f5e1.tar.bz2 rails-eb11e350e4f6f8a102762820cf3b328e0870f5e1.zip |
Change the wording to explain following methods skip callbacks [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_callbacks.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guides/source/active_record_callbacks.md b/guides/source/active_record_callbacks.md index df1dd22971..95eb84dd1f 100644 --- a/guides/source/active_record_callbacks.md +++ b/guides/source/active_record_callbacks.md @@ -180,7 +180,7 @@ NOTE: The `find_by_*` and `find_by_*!` methods are dynamic finders generated aut Skipping Callbacks ------------------ -Just as with validations, it is also possible to skip callbacks. These methods should be used with caution, however, because important business rules and application logic may be kept in callbacks. Bypassing them without understanding the potential implications may lead to invalid data. +Just as with validations, it is also possible to skip callbacks by using the following methods: * `decrement` * `decrement_counter` @@ -195,6 +195,8 @@ Just as with validations, it is also possible to skip callbacks. These methods s * `update_all` * `update_counters` +These methods should be used with caution, however, because important business rules and application logic may be kept in callbacks. Bypassing them without understanding the potential implications may lead to invalid data. + Halting Execution ----------------- |