aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-01-17 11:41:31 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2014-01-17 11:41:31 -0800
commit3281d5a1708f50208d1c51a3b2f404de0d9e0941 (patch)
tree017a55ff4af561d72a1595035a362366bdd7b1e7 /activerecord/lib/active_record/relation
parentd091c8fd34aabcc9da23f93793d2e5241a4584fa (diff)
parentfe4758ae3232b0f121968c3a2cb415cc5747fd7e (diff)
downloadrails-3281d5a1708f50208d1c51a3b2f404de0d9e0941.tar.gz
rails-3281d5a1708f50208d1c51a3b2f404de0d9e0941.tar.bz2
rails-3281d5a1708f50208d1c51a3b2f404de0d9e0941.zip
Merge branch 'adequaterecord' of github.com:rails/rails into adequaterecord
* 'adequaterecord' of github.com:rails/rails: Remove outdated comment.
Diffstat (limited to 'activerecord/lib/active_record/relation')
-rw-r--r--activerecord/lib/active_record/relation/query_methods.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb
index 226f1b8176..6cf57b679d 100644
--- a/activerecord/lib/active_record/relation/query_methods.rb
+++ b/activerecord/lib/active_record/relation/query_methods.rb
@@ -924,7 +924,6 @@ module ActiveRecord
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)