diff options
author | Xavier Noria <fxn@hashref.com> | 2012-06-14 23:28:16 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2012-06-14 23:28:16 +0200 |
commit | 86af7d357899057f1565b2ebbeb4f3c3235846a1 (patch) | |
tree | b4d38c47d019b4680c275fe6b64980cfdf8e7381 /activerecord | |
parent | 776fd51da02d243dc505c413e4a1d6f59b425436 (diff) | |
download | rails-86af7d357899057f1565b2ebbeb4f3c3235846a1.tar.gz rails-86af7d357899057f1565b2ebbeb4f3c3235846a1.tar.bz2 rails-86af7d357899057f1565b2ebbeb4f3c3235846a1.zip |
registers the removal of update_attribute in the CHANGELOG
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index b7c2788db4..4ea1efdcbd 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,11 @@ ## Rails 4.0.0 (unreleased) ## +* `update_attribute` has been removed. Use `update_column` if + you want to bypass mass-assignment protection, validations, callbacks, + and touching of updated_at. Otherwise please use `update_attributes`. + + *Steve Klabnik* + * Added `ActiveRecord::Migration.check_pending!` that raises an error if migrations are pending. *Richard Schneeman* |