aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/deprecation.rb
diff options
context:
space:
mode:
authorEloy Duran <eloy.de.enige@gmail.com>2008-10-03 13:55:35 +0200
committerMichael Koziarski <michael@koziarski.com>2008-10-03 21:28:11 +0200
commit8d337e9ec2e25007d557150dbe7557ab3c3bd05f (patch)
tree35bc7945e1b9230a988238a7bdbbbd01e9069314 /activesupport/lib/active_support/deprecation.rb
parente69b506abd40222c87be28398c5191db160740cb (diff)
downloadrails-8d337e9ec2e25007d557150dbe7557ab3c3bd05f.tar.gz
rails-8d337e9ec2e25007d557150dbe7557ab3c3bd05f.tar.bz2
rails-8d337e9ec2e25007d557150dbe7557ab3c3bd05f.zip
Dynamic finders should use the ActiveRecord::Base::find method instead of ::find_initial, :find_last, and ::find_all.
This is so when people override ActiveRecord::Base::find, the new ::find method will also be invoked by the dynamic finders. Associations for instance do go through ::find, so this makes it more consistent. Also removed the unnecessary deprecation silence blocks. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1162 state:committed]
Diffstat (limited to 'activesupport/lib/active_support/deprecation.rb')
0 files changed, 0 insertions, 0 deletions