Browse files

Add changelog entry for #update_columns.

  • Loading branch information...
1 parent cd7dc9e commit bd573aa1e300d2d32bb1d279efe1efbcc71fe48a @smartinez87 committed Apr 27, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 activerecord/CHANGELOG.md
View
8 activerecord/CHANGELOG.md
@@ -1,5 +1,13 @@
## Rails 4.0.0 (unreleased) ##
+* Added an update_columns method. This new method updates the given attributes on an object,
+ without calling save, hence skipping validations and callbacks.
+ Example:
+
+ User.first.update_columns({:name => "sebastian", :age => 25}) # => true
+
+ *Sebastian Martinez*
+
* Added an :index option to automatically create indexes for references
and belongs_to statements in migrations.

0 comments on commit bd573aa

Please sign in to comment.