1 2 3 4 5 6
# frozen_string_literal: true class IssueAssignee < ApplicationRecord belongs_to :issue belongs_to :assignee, class_name: "User", foreign_key: :user_id end