1 2 3 4 5 6
class Reply < ActiveRecord::Base belongs_to :topic, :include => [:replies] belongs_to :developer validates_presence_of :content end