diff options
author | Akira Matsuda <ronnie@dio.jp> | 2013-01-24 15:40:37 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-01-24 17:10:53 +0900 |
commit | 68418fbe9b6adf916a581ab0d3d29fe1de3412dd (patch) | |
tree | 66cdfa1b7d90954ceb3a61ff775321087f3fe607 | |
parent | fb3996f89d4ef8ab087e28b9b2ab691ba628a33c (diff) | |
download | rails-68418fbe9b6adf916a581ab0d3d29fe1de3412dd.tar.gz rails-68418fbe9b6adf916a581ab0d3d29fe1de3412dd.tar.bz2 rails-68418fbe9b6adf916a581ab0d3d29fe1de3412dd.zip |
Unused model DeprecatedPostWithComment
-rw-r--r-- | activerecord/test/models/post.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/activerecord/test/models/post.rb b/activerecord/test/models/post.rb index 603f1f2555..ce980ada8b 100644 --- a/activerecord/test/models/post.rb +++ b/activerecord/test/models/post.rb @@ -168,13 +168,6 @@ class SubStiPost < StiPost self.table_name = Post.table_name end -ActiveSupport::Deprecation.silence do - class DeprecatedPostWithComment < ActiveRecord::Base - self.table_name = 'posts' - default_scope where("posts.comments_count > 0").order("posts.comments_count ASC") - end -end - class PostForAuthor < ActiveRecord::Base self.table_name = 'posts' cattr_accessor :selected_author |