view lib/plugins/classic_pagination/test/fixtures/reply.rb @ 1395:0e4c6c2f400e biblio_alt_search_auth

Fixed teh way the model is accessing the virtual attributes.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Sat, 28 Sep 2013 16:04:04 +0100
parents 433d4f72a19b
children
line wrap: on
line source
class Reply < ActiveRecord::Base
  belongs_to :topic, :include => [:replies]
  
  validates_presence_of :content
end