Permalink
Browse files

removing a conditional that is not used

  • Loading branch information...
1 parent 3daf822 commit 439a0ceb434e2145bd8d6b4c2d6d24d675ba7509 @tenderlove tenderlove committed Sep 28, 2010
Showing with 0 additions and 2 deletions.
  1. +0 −2 activerecord/lib/active_record/relation/query_methods.rb
@@ -265,8 +265,6 @@ def build_select(arel, selects)
case select = selects.last
when Arel::Expression, Arel::SqlLiteral
arel.project(select)
- when /^COUNT\(/
- arel.project(Arel::SqlLiteral.new(select))
else
arel.project(*selects)
end

0 comments on commit 439a0ce

Please sign in to comment.