diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-04-25 17:31:26 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-04-25 17:52:28 +0100 |
commit | 40a711ce29505e95d5033fe02c22ba7469206f06 (patch) | |
tree | 3876fc5727f548442b2a860486e7a8ef05b91dd7 /activerecord/test/models | |
parent | bc7309cde337bbd56326fd1f0b38e553f64b519e (diff) | |
download | rails-40a711ce29505e95d5033fe02c22ba7469206f06.tar.gz rails-40a711ce29505e95d5033fe02c22ba7469206f06.tar.bz2 rails-40a711ce29505e95d5033fe02c22ba7469206f06.zip |
remove tests for #with_scope (it's now deprecated)
Diffstat (limited to 'activerecord/test/models')
-rw-r--r-- | activerecord/test/models/developer.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/activerecord/test/models/developer.rb b/activerecord/test/models/developer.rb index 4cc4947e3b..e6a468feca 100644 --- a/activerecord/test/models/developer.rb +++ b/activerecord/test/models/developer.rb @@ -102,12 +102,6 @@ class DeveloperOrderedBySalary < ActiveRecord::Base default_scope { order('salary DESC') } scope :by_name, -> { order('name DESC') } - - def self.all_ordered_by_name - with_scope(:find => { :order => 'name DESC' }) do - find(:all) - end - end end class DeveloperCalledDavid < ActiveRecord::Base |