mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
removing a conditional that is not used
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user