Sha256: b0a303fa2fa469c0cf05dfb83db21453fdefee0348da5e0cfed817e6f1e044a5
Contents?: true
Size: 213 Bytes
Versions: 10
Compression:
Stored size: 213 Bytes
Contents
# frozen_string_literal: true module Shipit class Membership < Record belongs_to :team, required: true belongs_to :user, required: true validates :user_id, uniqueness: { scope: :team_id } end end
Version data entries
10 entries across 10 versions & 1 rubygems