gitlab-org--gitlab-foss/app/models/concerns
Dmitriy Zaporozhets a5f23435f7
Improve performance for issue#show page
* store @participants in variable
* store result of subscribed? call into variable

In total it reduce amount of SQL queries for issue with 10 comments/participants twice.

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-24 12:49:34 +02:00
..
internal_id.rb Fix method overlap for issue sorting 2015-02-05 16:49:41 -08:00
issuable.rb Move participants method to shared Participable concern. 2015-04-24 12:30:36 +02:00
mentionable.rb Replace remaining references to `Note.create_cross_reference_note` 2015-06-22 12:13:46 +02:00
notifiable.rb Huge replace of old users_project and users_group references 2014-09-14 19:32:51 +03:00
participable.rb Improve performance for issue#show page 2015-06-24 12:49:34 +02:00
referable.rb Make `cross_project_reference?` less magical 2015-05-26 15:49:21 -04:00
sortable.rb Fix tests for semaphore 2015-02-06 23:57:28 -08:00
taskable.rb Fix taskable require 2015-06-10 01:38:45 -04:00
token_authenticatable.rb Try to keep token authenticable compatibility 2014-07-09 14:42:25 +02:00