view lib/plugins/classic_pagination/test/fixtures/reply.rb @ 1372:a8832968d927 bibliography_testing

added another simple test to test the relationship between authors/authorships
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 22 Aug 2013 12:42:09 +0100
parents 433d4f72a19b
children
line wrap: on
line source
class Reply < ActiveRecord::Base
  belongs_to :topic, :include => [:replies]
  
  validates_presence_of :content
end