aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/arel/collectors/sql_string.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/arel/collectors/sql_string.rb')
-rw-r--r--activerecord/lib/arel/collectors/sql_string.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/arel/collectors/sql_string.rb b/activerecord/lib/arel/collectors/sql_string.rb
index bcb941f6d4..78c9e48aab 100644
--- a/activerecord/lib/arel/collectors/sql_string.rb
+++ b/activerecord/lib/arel/collectors/sql_string.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-require 'arel/collectors/plain_string'
+require "arel/collectors/plain_string"
module Arel
module Collectors
@@ -10,13 +10,13 @@ module Arel
@bind_index = 1
end
- def add_bind bind
+ def add_bind(bind)
self << yield(@bind_index)
@bind_index += 1
self
end
- def compile bvs
+ def compile(bvs)
value
end
end