diff options
author | Rémy Coutable <remy@rymai.me> | 2017-02-23 22:39:48 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-02-23 22:39:48 +0000 |
commit | 2fb3fcf0c0446c9a1568e26e81d49f3b5ce159dc (patch) | |
tree | 67aa953b3e8dd0245307cdfefa9f3005659df040 /app/models | |
parent | 509ff2ab170802e23646282f1d146a6383b53a66 (diff) | |
parent | 2f0599b6c851c208b5332f37509df0ada52e6d6a (diff) | |
download | gitlab-ce-2fb3fcf0c0446c9a1568e26e81d49f3b5ce159dc.tar.gz |
Merge branch '27989-disable-counting-tags' into 'master'
Disable unused tags count cache for Projects, Builds and Runners
Closes #27989
See merge request !9467
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/issue.rb | 2 | ||||
-rw-r--r-- | app/models/project.rb | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index d8826b65fcc..de90f19f854 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -15,8 +15,6 @@ class Issue < ActiveRecord::Base DueThisWeek = DueDateStruct.new('Due This Week', 'week').freeze DueThisMonth = DueDateStruct.new('Due This Month', 'month').freeze - ActsAsTaggableOn.strict_case_match = true - belongs_to :project belongs_to :moved_to, class_name: 'Issue' diff --git a/app/models/project.rb b/app/models/project.rb index 301ff71cc01..814fd0c0f4f 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -70,8 +70,7 @@ class Project < ActiveRecord::Base after_validation :check_pending_delete - ActsAsTaggableOn.strict_case_match = true - acts_as_taggable_on :tags + acts_as_taggable attr_accessor :new_default_branch attr_accessor :old_path_with_namespace |