diff options
author | Steve Klabnik <steve@steveklabnik.com> | 2012-06-14 18:46:38 +0200 |
---|---|---|
committer | Steve Klabnik <steve@steveklabnik.com> | 2012-06-14 23:14:40 +0200 |
commit | b081f6b59fb3f15d12043072ad9b331ffd2bc56e (patch) | |
tree | debc1a9482be91e1fb8c15df482ee130ccb258e6 /activerecord/test/fixtures/subscribers.yml | |
parent | 7f937914576c65a01f3a9528d1728720c6c400c5 (diff) | |
download | rails-b081f6b59fb3f15d12043072ad9b331ffd2bc56e.tar.gz rails-b081f6b59fb3f15d12043072ad9b331ffd2bc56e.tar.bz2 rails-b081f6b59fb3f15d12043072ad9b331ffd2bc56e.zip |
Deprecate update_attribute.
Historically, update_attribute and update_attributes are similar, but
with one big difference: update_attribute does not run validations.
These two methods are really easy to confuse given their similar
names. Therefore, update_attribute is being deprecated in favor of
update_column, and will be removed in Rails 4.
See the discussion on rails-core here:
https://groups.google.com/d/topic/rubyonrails-core/BWPUTK7WvYA/discussion
Diffstat (limited to 'activerecord/test/fixtures/subscribers.yml')
0 files changed, 0 insertions, 0 deletions