foodsoft/app/models/assignment.rb

5 lines
80 B
Ruby

class Assignment < ApplicationRecord
belongs_to :user
belongs_to :task
end