app/models/commontator/comment.rb in commontator-0.1.46 vs app/models/commontator/comment.rb in commontator-0.2.0

- old
+ new

@@ -1,8 +1,7 @@ module Commontator class Comment < ActiveRecord::Base - belongs_to :commontator, :polymorphic => true belongs_to :deleter, :polymorphic => true belongs_to :thread has_one :commontable, :through => :thread @@ -77,8 +76,7 @@ def can_be_voted_on_by?(user) can_be_voted_on? && !thread.is_closed? &&\ thread.can_be_read_by?(user) && user != commontator end - end end