forked from jasder/forgeplus
7 lines
137 B
Ruby
7 lines
137 B
Ruby
|
class MemberRole < ApplicationRecord
|
||
|
belongs_to :role
|
||
|
belongs_to :member
|
||
|
|
||
|
validates :member_id, :role_id, presence: true
|
||
|
end
|