diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-06-01 15:51:59 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-06-01 15:51:59 +0000 |
commit | 2d084dd8481417ba8031a378d68009738d076229 (patch) | |
tree | 6c91c3ce35a66bdd1fa1d7806da51968d564ad73 /app/models/note.rb | |
parent | ef6fe42ec05d40935154d2bb22a44fdb7d1eac8e (diff) | |
parent | 580d250166d97bd5c2b0526be737d02806e577c2 (diff) | |
download | gitlab-ce-2d084dd8481417ba8031a378d68009738d076229.tar.gz |
Merge branch 'separate-banzai-references' into 'master'
Separate reference gathering from rendering
This is a required step to allow batch processing when gathering references. This in turn would allow grabbing (for example) all mentioned users of an issue/merge request using a single query.
cc @rspeicher @DouweM
See merge request !3969
Diffstat (limited to 'app/models/note.rb')
-rw-r--r-- | app/models/note.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/note.rb b/app/models/note.rb index 052239af43c..c21981ead84 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -6,7 +6,7 @@ class Note < ActiveRecord::Base default_value_for :system, false - attr_mentionable :note, cache: true, pipeline: :note + attr_mentionable :note, pipeline: :note participant :author belongs_to :project |