aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/collectors
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2017-07-21 08:02:58 -0400
committerSean Griffin <sean@seantheprogrammer.com>2017-07-21 08:02:58 -0400
commitf031a3b9aa6a8093802e0188abce58e0b997078e (patch)
tree5a8acd14ac5af0a568e436a89a07e759bbd428e0 /lib/arel/collectors
parent67a51c62f4e19390cd8eb408596ca48bb0806362 (diff)
downloadrails-f031a3b9aa6a8093802e0188abce58e0b997078e.tar.gz
rails-f031a3b9aa6a8093802e0188abce58e0b997078e.tar.bz2
rails-f031a3b9aa6a8093802e0188abce58e0b997078e.zip
Rename `Collectors::Bind`
The "bind collector" does not actually collect bind params at all, it substitutes them out of the final AST, replacing them with a quoted value.
Diffstat (limited to 'lib/arel/collectors')
-rw-r--r--lib/arel/collectors/substitute_binds.rb (renamed from lib/arel/collectors/bind.rb)2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/collectors/bind.rb b/lib/arel/collectors/substitute_binds.rb
index dfa79d1001..62589c44e8 100644
--- a/lib/arel/collectors/bind.rb
+++ b/lib/arel/collectors/substitute_binds.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
module Arel
module Collectors
- class Bind
+ class SubstituteBinds
def initialize
@parts = []
end