diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-04-25 18:03:06 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-04-25 18:03:06 +0100 |
commit | 3c100cfe8ed5a875b0bbdc8fa4e8f2b0cbf78676 (patch) | |
tree | cfd79cf1e67615e010146e1984a311df27c658a9 /activerecord/test | |
parent | 40a711ce29505e95d5033fe02c22ba7469206f06 (diff) | |
download | rails-3c100cfe8ed5a875b0bbdc8fa4e8f2b0cbf78676.tar.gz rails-3c100cfe8ed5a875b0bbdc8fa4e8f2b0cbf78676.tar.bz2 rails-3c100cfe8ed5a875b0bbdc8fa4e8f2b0cbf78676.zip |
remove unused method
Diffstat (limited to 'activerecord/test')
-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 e6a468feca..7133094f5d 100644 --- a/activerecord/test/models/developer.rb +++ b/activerecord/test/models/developer.rb @@ -57,12 +57,6 @@ class Developer < ActiveRecord::Base def log=(message) audit_logs.build :message => message end - - def self.all_johns - self.with_exclusive_scope :find => where(:name => 'John') do - self.all - end - end end class AuditLog < ActiveRecord::Base |