class RatingComment < ActiveRecord::Base
  belongs_to :rating
  belongs_to :user
  has_many :ratings   # People that found this comment useful
  belongs_to :parent_comment, :class_name => 'RatingComment'
  
  validates_presence_of :comment
  validates_presence_of :rating
  validates_presence_of :user
end
