diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-05-22 18:23:28 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-05-22 18:23:28 -0300 |
commit | 0e7e4f798e52d8a71953d49cbfbdf56a4bf70129 (patch) | |
tree | b182ea6d512bd27540ea6e390b7b3d47cc845277 /activerecord/lib/active_record | |
parent | b89190f07df5099b1a9dadfc627d4c49065c1c68 (diff) | |
parent | 904dd5a2a4628da0281030bf7482a12dde2f3a1c (diff) | |
download | rails-0e7e4f798e52d8a71953d49cbfbdf56a4bf70129.tar.gz rails-0e7e4f798e52d8a71953d49cbfbdf56a4bf70129.tar.bz2 rails-0e7e4f798e52d8a71953d49cbfbdf56a4bf70129.zip |
Merge pull request #15257 from jetthoughts/remove_redundant_code
Removed not used code
Diffstat (limited to 'activerecord/lib/active_record')
-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) |