Permalink
Browse files

Merge pull request #8677 from amatsuda/unused_scope_in_test_models

unused scope in AR test model
  • Loading branch information...
2 parents 5f63816 + 542d6b5 commit e333d64f3d02358f4fbabc93589bb06c930b8cb0 @rafaelfranca rafaelfranca committed Jan 1, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 activerecord/test/models/reply.rb
@@ -1,8 +1,6 @@
require 'models/topic'
class Reply < Topic
- scope :base, -> { scoped }
-
belongs_to :topic, :foreign_key => "parent_id", :counter_cache => true
belongs_to :topic_with_primary_key, :class_name => "Topic", :primary_key => "title", :foreign_key => "parent_title", :counter_cache => "replies_count"
has_many :replies, :class_name => "SillyReply", :dependent => :destroy, :foreign_key => "parent_id"

0 comments on commit e333d64

Please sign in to comment.