Sha256: a6585cb3894261e38d1eeddbb3f242da7c332e1c1d6c7b5280007a9f3c238dc1
Contents?: true
Size: 236 Bytes
Versions: 9
Compression:
Stored size: 236 Bytes
Contents
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
Version data entries
9 entries across 9 versions & 3 rubygems