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