Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (7 sloc) 0.236 kB
class Reply < ActiveRecord::Base
belongs_to :topic, :include => [:replies]
scope :recent,
:conditions => ['replies.created_at > ?', 15.minutes.ago],
:order => 'replies.created_at DESC'
validates_presence_of :content
end
Jump to Line
Something went wrong with that request. Please try again.