Permalink
Browse files

Remove outdated comment.

The code duplication was removed and this comment is pointing to the
wrong line.

[ci skip]
  • Loading branch information...
1 parent a0d704a commit fe4758ae3232b0f121968c3a2cb415cc5747fd7e @rafaelfranca rafaelfranca committed Jan 17, 2014
Showing with 0 additions and 1 deletion.
  1. +0 −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 fe4758a

Please sign in to comment.