Permalink
Browse files

unused scope

  • Loading branch information...
1 parent 5f63816 commit 542d6b5e2834f20adad40f1c712f92df91164d21 @amatsuda amatsuda 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 542d6b5

Please sign in to comment.