summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/query.rb b/app/models/query.rb
index e2e1326e2..0640dd684 100644
--- a/app/models/query.rb
+++ b/app/models/query.rb
@@ -564,7 +564,7 @@ class Query < ActiveRecord::Base
r = nil
if grouped?
begin
- # Rails will raise an (unexpected) RecordNotFound if there's only a nil group value
+ # Rails3 will raise an (unexpected) RecordNotFound if there's only a nil group value
r = Issue.visible.count(:group => group_by_statement, :include => [:status, :project], :conditions => statement)
rescue ActiveRecord::RecordNotFound
r = {nil => issue_count}