Mercurial > hg > soundsoftware-site
view lib/plugins/classic_pagination/test/fixtures/reply.rb @ 1373:95a6d8cecdb8 bibliography_testing
added test to assert that the validations are correct
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 22 Aug 2013 14:50:56 +0100 |
parents | 433d4f72a19b |
children |
line wrap: on
line source
class Reply < ActiveRecord::Base belongs_to :topic, :include => [:replies] validates_presence_of :content end