diff --git a/lib/arel/nodes/table_alias.rb b/lib/arel/nodes/table_alias.rb new file mode 100644 index 0000000..62a328f --- /dev/null +++ b/lib/arel/nodes/table_alias.rb @@ -0,0 +1,6 @@ +class Arel::Nodes::TableAlias + def on(node = nil, &block) + table = BabySqueel::Table.new(self) + table.on(node, &block) + end +end