56c7fe4abb
- Still needs UI to display multiple assignees - Still needs UI for changing/removing assignees
7 lines
138 B
Ruby
7 lines
138 B
Ruby
class Assignment < ApplicationRecord
|
|
belongs_to :user
|
|
belongs_to :bubble
|
|
|
|
validates :user_id, uniqueness: { scope: :bubble_id }
|
|
end
|