Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove dead code

  • Loading branch information...
commit 8b9ddab287ca3fb5a39cfda82421fafbaf649eb5 1 parent 9bdaba8
@tenderlove tenderlove authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  activerecord/lib/active_record/relation/query_methods.rb
View
2  activerecord/lib/active_record/relation/query_methods.rb
@@ -914,8 +914,6 @@ def build_where(opts, other = [])
case opts
when String, Array
#TODO: Remove duplication with: /activerecord/lib/active_record/sanitization.rb:113
- values = Hash === other.first ? other.first.values : other
-
[@klass.send(:sanitize_sql, other.empty? ? opts : ([opts] + other))]
when Hash
opts = PredicateBuilder.resolve_column_aliases(klass, opts)
Please sign in to comment.
Something went wrong with that request. Please try again.