diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2016-01-14 13:43:04 -0700 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2016-01-14 13:43:04 -0700 |
commit | 434ec2371498e99d4669453b66a4b9fa08f7a9a0 (patch) | |
tree | 2b1bca6c151f8c65a44e4fb71bc6f1ad6fc612cb /activerecord/lib/active_record/relation.rb | |
parent | f138bea5da463509c0dc51283dd35e803796a77a (diff) | |
parent | a557ab00f51e28d5609837f02fcc66d519615d3a (diff) | |
download | rails-434ec2371498e99d4669453b66a4b9fa08f7a9a0.tar.gz rails-434ec2371498e99d4669453b66a4b9fa08f7a9a0.tar.bz2 rails-434ec2371498e99d4669453b66a4b9fa08f7a9a0.zip |
Merge pull request #23048 from kamipo/substitute_at_is_no_longer_used
`substitute_at` is no longer used
Diffstat (limited to 'activerecord/lib/active_record/relation.rb')
-rw-r--r-- | activerecord/lib/active_record/relation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb index 6aa490908b..032b8d4c5d 100644 --- a/activerecord/lib/active_record/relation.rb +++ b/activerecord/lib/active_record/relation.rb @@ -99,7 +99,7 @@ module ActiveRecord end substitutes = values.map do |(arel_attr, _)| - [arel_attr, connection.substitute_at(klass.columns_hash[arel_attr.name])] + [arel_attr, Arel::Nodes::BindParam.new] end [substitutes, binds] |