Skip to content

Commit

Permalink
Change the wording to explain following methods skip callbacks [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
prathamesh-sonpatki committed Aug 19, 2013
1 parent a0b948e commit eb11e35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion guides/source/active_record_callbacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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
-----------------

Expand Down

0 comments on commit eb11e35

Please sign in to comment.