eb23754ebb
1 2 3 4 5 6 7
class Reply < ActiveRecord::Base scope :base, -> { all } belongs_to :topic, -> { includes(:replies) } belongs_to :developer validates_presence_of :content end