2006-02-09 04:17:40 -05:00
|
|
|
class Reply < ActiveRecord::Base
|
2010-01-18 03:07:42 -05:00
|
|
|
scope :base
|
2006-02-09 04:17:40 -05:00
|
|
|
belongs_to :topic, :include => [:replies]
|
2007-11-12 10:02:12 -05:00
|
|
|
belongs_to :developer
|
|
|
|
|
2006-02-09 04:17:40 -05:00
|
|
|
validates_presence_of :content
|
|
|
|
end
|