diff options
author | Paul Nikitochkin <paul.nikitochkin@gmail.com> | 2014-05-22 22:07:56 +0300 |
---|---|---|
committer | Paul Nikitochkin <paul.nikitochkin@gmail.com> | 2014-05-22 22:07:56 +0300 |
commit | 904dd5a2a4628da0281030bf7482a12dde2f3a1c (patch) | |
tree | 515ae7b01db75529e0a73cc99e90efe1c46c5e74 /activerecord | |
parent | d0f0fcf2e9e84e7d3d34028211c421f382821563 (diff) | |
download | rails-904dd5a2a4628da0281030bf7482a12dde2f3a1c.tar.gz rails-904dd5a2a4628da0281030bf7482a12dde2f3a1c.tar.bz2 rails-904dd5a2a4628da0281030bf7482a12dde2f3a1c.zip |
Removed not-used code
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/relation/query_methods.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb index 416f2305d2..a607e9ac87 100644 --- a/activerecord/lib/active_record/relation/query_methods.rb +++ b/activerecord/lib/active_record/relation/query_methods.rb @@ -950,7 +950,6 @@ WARNING [@klass.send(:sanitize_sql, other.empty? ? opts : ([opts] + other))] when Hash opts = PredicateBuilder.resolve_column_aliases(klass, opts) - attributes = @klass.send(:expand_hash_conditions_for_aggregates, opts) bv_len = bind_values.length tmp_opts, bind_values = create_binds(opts, bv_len) |