diff options
author | Eloy Duran <eloy.de.enige@gmail.com> | 2008-10-03 13:55:35 +0200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-10-03 21:28:11 +0200 |
commit | 8d337e9ec2e25007d557150dbe7557ab3c3bd05f (patch) | |
tree | 35bc7945e1b9230a988238a7bdbbbd01e9069314 /actionmailer/test/mail_layout_test.rb | |
parent | e69b506abd40222c87be28398c5191db160740cb (diff) | |
download | rails-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 'actionmailer/test/mail_layout_test.rb')
0 files changed, 0 insertions, 0 deletions