diff options
author | Vipul A M <vipulnsward@gmail.com> | 2013-07-03 22:33:57 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2013-07-03 22:33:57 +0530 |
commit | 822d99562777f7d0ab2b79cacaec47690f6271e6 (patch) | |
tree | 4def4afe53cc4405e19bc7cfceac6b58f95a094b /railties/lib/rails/generators | |
parent | 4084b62dae04fbb82e862894856d9a6eca8bea38 (diff) | |
download | rails-822d99562777f7d0ab2b79cacaec47690f6271e6.tar.gz rails-822d99562777f7d0ab2b79cacaec47690f6271e6.tar.bz2 rails-822d99562777f7d0ab2b79cacaec47690f6271e6.zip |
Remove deprecated `ActiveRecord::Generators::ActiveModel#update_attributes` in
favor of `ActiveRecord::Generators::ActiveModel#update`
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/active_model.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/railties/lib/rails/generators/active_model.rb b/railties/lib/rails/generators/active_model.rb index e5373704d7..b6f8687d49 100644 --- a/railties/lib/rails/generators/active_model.rb +++ b/railties/lib/rails/generators/active_model.rb @@ -65,12 +65,6 @@ module Rails "#{name}.update(#{params})" end - def update_attributes(*args) # :nodoc: - ActiveSupport::Deprecation.warn("Calling '@orm_instance.update_attributes' " \ - "is deprecated, please use '@orm_instance.update' instead.") - update(*args) - end - # POST create # PATCH/PUT update def errors |