Permalink
Browse files

remove dead code

  • Loading branch information...
1 parent 9bdaba8 commit 8b9ddab287ca3fb5a39cfda82421fafbaf649eb5 @tenderlove tenderlove committed Jan 14, 2014
Showing with 0 additions and 2 deletions.
  1. +0 −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)

0 comments on commit 8b9ddab

Please sign in to comment.