app/models/commontator/comment.rb in commontator-4.9.0 vs app/models/commontator/comment.rb in commontator-4.10.0
- old
+ new
@@ -2,11 +2,9 @@
class Comment < ActiveRecord::Base
belongs_to :creator, :polymorphic => true
belongs_to :editor, :polymorphic => true
belongs_to :thread
- has_one :commontable, :through => :thread
-
validates_presence_of :creator, :on => :create
validates_presence_of :editor, :on => :update
validates_presence_of :thread
validates_presence_of :body