aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/table.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/table.rb')
-rw-r--r--lib/arel/table.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/table.rb b/lib/arel/table.rb
index bfc667bf2b..a13fd9fa5b 100644
--- a/lib/arel/table.rb
+++ b/lib/arel/table.rb
@@ -66,7 +66,7 @@ primary_key (#{caller.first}) is deprecated and will be removed in ARel 3.0.0
klass = Nodes::StringJoin
end
- from create_join(self, relation, nil, klass)
+ from(self).join(relation, klass)
end
def group *columns