mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Updated guides for new #update_column.
This commit is contained in:
parent
198f3883fa
commit
7c6807296b
1 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ The following methods skip validations, and will save the object to the database
|
|||
* +increment_counter+
|
||||
* +toggle!+
|
||||
* +update_all+
|
||||
* +update_attribute+
|
||||
* +update_column+
|
||||
* +update_counters+
|
||||
|
||||
Note that +save+ also has the ability to skip validations if passed +:validate => false+ as argument. This technique should be used with caution.
|
||||
|
@ -964,7 +964,6 @@ The following methods trigger callbacks:
|
|||
* +save(false)+
|
||||
* +toggle!+
|
||||
* +update+
|
||||
* +update_attribute+
|
||||
* +update_attributes+
|
||||
* +update_attributes!+
|
||||
* +valid?+
|
||||
|
@ -993,6 +992,7 @@ Just as with validations, it's also possible to skip callbacks. These methods sh
|
|||
* +increment+
|
||||
* +increment_counter+
|
||||
* +toggle+
|
||||
* +update_column+
|
||||
* +update_all+
|
||||
* +update_counters+
|
||||
|
||||
|
|
Loading…
Reference in a new issue