aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/reply.rb
blob: 047522c55b4d64cbd67118d8227d1c4d7ff4466f (plain) (blame)
1
2
3
4
5
6
7
class Reply < ActiveRecord::Base
  scope :base, -> { all }
  belongs_to :topic, -> { includes(:replies) }
  belongs_to :developer

  validates_presence_of :content
end