From 5e7abf67fbda21735d12660a537a96e39bb87107 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 14 Mar 2018 15:20:04 +0800 Subject: [PATCH] Remove nonsense has_one relationship --- app/models/user.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index 2d51b5af5..c063b7c34 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -74,7 +74,6 @@ class User < ActiveRecord::Base has_many :roles, :class_name => "UserRole" has_many :issues, :class_name => "Issue", :foreign_key => :reported_user_id - has_one :issue, :class_name => "Issue", :foreign_key => :updated_by has_many :issue_comments has_many :reports -- 2.43.2