f96q/kptboard

View on GitHub
app/models/retrospectives_user.rb

Summary

Maintainability
A
0 mins
Test Coverage
class RetrospectivesUser < ApplicationRecord
  belongs_to :user
  belongs_to :retrospective
  validates :retrospective_id, uniqueness: {scope: :user_id}
end