aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/reply.rb
blob: 0d3b0a7c98f4e84049468c09c3dd2bec3e4bbba9 (plain) (blame)
1
2
3
4
5
6
7
class Reply < ActiveRecord::Base
  scope :base, -> { scoped }
  belongs_to :topic, :include => [:replies]
  belongs_to :developer

  validates_presence_of :content
end