Retrospring/app/models/moderation_vote.rb

7 lines
161 B
Ruby
Raw Normal View History

2020-04-18 15:59:18 -07:00
class ModerationVote < ApplicationRecord
2014-12-27 05:35:09 -08:00
belongs_to :user
belongs_to :report
validates :user_id, presence: true
validates :report_id, presence: true
end