Sha256: 9e23f7df9869df67fa83bd6887c89955d40a39e758d7d654c3f70d48acd6fa6b
Contents?: true
Size: 303 Bytes
Versions: 48
Compression:
Stored size: 303 Bytes
Contents
module Incline class AccessGroupUserMember < ActiveRecord::Base belongs_to :group, class_name: 'Incline::AccessGroup' belongs_to :member, class_name: 'Incline::User' validates :group_id, presence: true validates :member_id, presence: true, uniqueness: { scope: :group_id } end end
Version data entries
48 entries across 48 versions & 1 rubygems