aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/man.rb
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-01-12 10:52:13 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-01-12 10:52:13 -0200
commit2549a3b088de14c36d60de6c60c1374af75c326f (patch)
treee19723ef8ec72d128904d2da4e49dc385e1a3f50 /activerecord/test/models/man.rb
parent9b636dcf53e4ac410186a720d5bef783fc8648c4 (diff)
downloadrails-2549a3b088de14c36d60de6c60c1374af75c326f.tar.gz
rails-2549a3b088de14c36d60de6c60c1374af75c326f.tar.bz2
rails-2549a3b088de14c36d60de6c60c1374af75c326f.zip
Deprecate `Rails::Generators::ActiveModel#update_attributes`
Deprecate #update_attributes in favor of `#update`. ORMs that implement `Generators::ActiveModel#update_attributes` should change to `#update`. Scaffold controller generators should change calls like: @orm_instance.update_attributes(...) to: @orm_instance.update(...) This goes along with the addition of `ActiveRecord::Base#update`, introduced in cb2bd4aa619d9329c42aaf6d9f8eacc616ce53f4.
Diffstat (limited to 'activerecord/test/models/man.rb')
0 files changed, 0 insertions, 0 deletions