1 2 3
class Topic < ActiveRecord::Base has_many :replies, :include => [:user], :dependent => :destroy end