diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-01-17 17:35:03 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-01-17 17:35:56 -0200 |
commit | fe4758ae3232b0f121968c3a2cb415cc5747fd7e (patch) | |
tree | b00034d29a5406479926c797b7b9a6adb2d71210 /activerecord/lib/active_record/relation | |
parent | a0d704aa59e1d4c255107f38a783bb79391635c8 (diff) | |
download | rails-fe4758ae3232b0f121968c3a2cb415cc5747fd7e.tar.gz rails-fe4758ae3232b0f121968c3a2cb415cc5747fd7e.tar.bz2 rails-fe4758ae3232b0f121968c3a2cb415cc5747fd7e.zip |
Remove outdated comment.
The code duplication was removed and this comment is pointing to the
wrong line.
[ci skip]
Diffstat (limited to 'activerecord/lib/active_record/relation')
-rw-r--r-- | activerecord/lib/active_record/relation/query_methods.rb | 1 |
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) |