aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/arel/factory_methods.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/factory_methods.rb b/lib/arel/factory_methods.rb
index 23d668c8e5..8fcb78069f 100644
--- a/lib/arel/factory_methods.rb
+++ b/lib/arel/factory_methods.rb
@@ -5,5 +5,9 @@ module Arel
def create_join from, to, on = nil, klass = Nodes::InnerJoin
klass.new(from, to, on)
end
+
+ def create_string_join from, to
+ create_join from, to, nil, Nodes::StringJoin
+ end
end
end