aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/collectors/bind.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/collectors/bind.rb')
-rw-r--r--lib/arel/collectors/bind.rb4
1 files changed, 4 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