Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add changelog entry for #update_columns.

  • Loading branch information...
commit bd573aa1e300d2d32bb1d279efe1efbcc71fe48a 1 parent cd7dc9e
@smartinez87 authored
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.
Please sign in to comment.
Something went wrong with that request. Please try again.