]> source.dussan.org Git - redmine.git/commit
Makes Project#assignable_users return a scope that prevents 2*n queries.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 25 Oct 2014 11:14:16 +0000 (11:14 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 25 Oct 2014 11:14:16 +0000 (11:14 +0000)
commit2d64a22dd928be415e0afaa55e43abb9a73ce281
tree90c6e1b0383a537f020239377e761ca3267f9301
parentc0f082ad0252b1da280c0ba61f750046c461976b
Makes Project#assignable_users return a scope that prevents 2*n queries.

git-svn-id: http://svn.redmine.org/redmine/trunk@13509 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/issue.rb
app/models/project.rb