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

  validates_presence_of :content
end