- has_many :map_bug_comment, :foreign_key => :bug_id, :order => :date_created, :conditions => "visible = true and comment is not null"
+ has_many :comments, :class_name => "MapBugComment",
+ :foreign_key => :bug_id,
+ :order => :date_created,
+ :conditions => "visible = true and comment is not null"