view lib/plugins/classic_pagination/test/fixtures/reply.rb @ 1347:f1fb4091d7f3 live

expires_in doesn't do what I thought here, we have external expiry job instead
author Chris Cannam
date Fri, 21 Jun 2013 15:05:50 +0100
parents 433d4f72a19b
children
line wrap: on
line source
class Reply < ActiveRecord::Base
  belongs_to :topic, :include => [:replies]
  
  validates_presence_of :content
end