Skip to content
Browse files

Merge branch 'adequaterecord' of github.com:rails/rails into adequate…

…record

* 'adequaterecord' of github.com:rails/rails:
  Remove outdated comment.
  • Loading branch information...
2 parents d091c8f + fe4758a commit 3281d5a1708f50208d1c51a3b2f404de0d9e0941 @tenderlove tenderlove committed
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
@@ -924,7 +924,6 @@ def collapse_wheres(arel, wheres)
def build_where(opts, other = [])
case opts
when String, Array
- #TODO: Remove duplication with: /activerecord/lib/active_record/sanitization.rb:113
[@klass.send(:sanitize_sql, other.empty? ? opts : ([opts] + other))]
when Hash
opts = PredicateBuilder.resolve_column_aliases(klass, opts)

0 comments on commit 3281d5a

Please sign in to comment.
Something went wrong with that request. Please try again.