Permalink
Browse files

Unused model DeprecatedPostWithComment

  • Loading branch information...
1 parent fb3996f commit 68418fbe9b6adf916a581ab0d3d29fe1de3412dd @amatsuda amatsuda committed Jan 24, 2013
Showing with 0 additions and 7 deletions.
  1. +0 −7 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

0 comments on commit 68418fb

Please sign in to comment.