unused scope

This commit is contained in:
Akira Matsuda 2013-01-02 05:48:56 +09:00
parent 5f638161f7
commit 542d6b5e28
1 changed files with 0 additions and 2 deletions

View File

@ -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"