diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-28 15:39:24 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-28 15:39:24 -0700 |
commit | 10041e2d4542f347e9ce85dc44ba41ea3ab09644 (patch) | |
tree | da3bef74e990ceb0e8e75334d1382aafa331bb67 /activerecord/lib | |
parent | d0fb0d770f6253bbab75e32e9190c4e89b084f26 (diff) | |
download | rails-10041e2d4542f347e9ce85dc44ba41ea3ab09644.tar.gz rails-10041e2d4542f347e9ce85dc44ba41ea3ab09644.tar.bz2 rails-10041e2d4542f347e9ce85dc44ba41ea3ab09644.zip |
removing a conditional that is not used
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/relation/query_methods.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb index b9957c41fa..b25388c0e8 100644 --- a/activerecord/lib/active_record/relation/query_methods.rb +++ b/activerecord/lib/active_record/relation/query_methods.rb @@ -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 |