diff --git a/app/models/issue.rb b/app/models/issue.rb index 8c7d492e605e9bdcb02ee48a61ed43b3cb9335a6..cd5056aae5e0fa0c7dd02b596458e9d7fe079ed7 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -30,9 +30,6 @@ class Issue < ActiveRecord::Base has_many :issue_assignees has_many :assignees, class_name: "User", through: :issue_assignees - has_many :issue_assignees - has_many :assignees, class_name: "User", through: :issue_assignees - validates :project, presence: true scope :in_projects, ->(project_ids) { where(project_id: project_ids) }