removing a conditional that is not used

This commit is contained in:
Aaron Patterson 2010-09-28 15:39:24 -07:00
parent d0fb0d770f
commit 10041e2d45
1 changed files with 0 additions and 2 deletions

View File

@ -264,8 +264,6 @@ module ActiveRecord
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