Browse files

Removed not-used code

  • Loading branch information...
1 parent d0f0fcf commit 904dd5a2a4628da0281030bf7482a12dde2f3a1c @pftg pftg committed May 22, 2014
Showing with 0 additions and 1 deletion.
  1. +0 −1 activerecord/lib/active_record/relation/query_methods.rb
View
1 activerecord/lib/active_record/relation/query_methods.rb
@@ -950,7 +950,6 @@ def build_where(opts, other = [])
[@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)

0 comments on commit 904dd5a

Please sign in to comment.