aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorTed Johansson <drenmi@gmail.com>2015-10-15 17:00:28 +0800
committerTed Johansson <drenmi@gmail.com>2015-10-15 17:00:28 +0800
commitb901a49473817339e892f6c237a365a361b0b2d7 (patch)
tree4348dfc3a81f4843219259e6326b510ad0bd8f71 /README.md
parentb6cf69ebcbf7372c61d38aa33baa7d0f4224679b (diff)
downloadrails-b901a49473817339e892f6c237a365a361b0b2d7.tar.gz
rails-b901a49473817339e892f6c237a365a361b0b2d7.tar.bz2
rails-b901a49473817339e892f6c237a365a361b0b2d7.zip
Add deprecation warning to `ActiveRecord::Relation#update`
When passing an instance of `ActiveRecord::Base` to `#update`, it would internally call `#find`, resulting in a misleading deprecation warning. This change gives this deprecated use of `#update` its own, meaningful warning.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions