view lib/plugins/classic_pagination/test/fixtures/reply.rb @ 1123:48c5fdd6cf10 redmine-2.2-integration

Rails 3 compatibility: renamed all named_scope calls to scope.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 08 Jan 2013 16:19:01 +0000
parents 433d4f72a19b
children
line wrap: on
line source
class Reply < ActiveRecord::Base
  belongs_to :topic, :include => [:replies]
  
  validates_presence_of :content
end