diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arel/collectors/bind.rb | 4 | ||||
-rw-r--r-- | lib/arel/collectors/sql_string.rb | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/arel/collectors/bind.rb b/lib/arel/collectors/bind.rb index 4309de75c9..05cd966509 100644 --- a/lib/arel/collectors/bind.rb +++ b/lib/arel/collectors/bind.rb @@ -27,6 +27,10 @@ module Arel end end end + + def compile bvs + substitute_binds(bvs).join + end end end end diff --git a/lib/arel/collectors/sql_string.rb b/lib/arel/collectors/sql_string.rb index 526de66416..45001bb507 100644 --- a/lib/arel/collectors/sql_string.rb +++ b/lib/arel/collectors/sql_string.rb @@ -20,6 +20,10 @@ module Arel self << bind.to_s self end + + def compile bvs + value + end end end end |