retrospring/app/models/moderation_vote.rb

7 lines
161 B
Ruby
Raw Normal View History

2020-04-19 00:59:18 +02:00
class ModerationVote < ApplicationRecord
2014-12-27 14:35:09 +01:00
belongs_to :user
belongs_to :report
validates :user_id, presence: true
validates :report_id, presence: true
end