From f413129f37bbbc4100317cb60179f43291e69f8e Mon Sep 17 00:00:00 2001 From: Nick Kallen Date: Sun, 4 May 2008 16:50:03 -0700 Subject: Table names seem to be disambiguated. - Code is a mess, about to undergo some refactoring --- lib/arel/relations/compound.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/arel/relations/compound.rb') diff --git a/lib/arel/relations/compound.rb b/lib/arel/relations/compound.rb index 735f586114..7367e60a2d 100644 --- a/lib/arel/relations/compound.rb +++ b/lib/arel/relations/compound.rb @@ -5,8 +5,8 @@ module Arel hash_on :relation delegate :joins, :selects, :orders, :groupings, :inserts, :taken, - :skipped, :name, :alias, :aggregation?, :prefix_for, :column_for, - :engine, :name_for, + :skipped, :name, :alias, :aggregation?, :column_for, + :engine, :name_for, :table, :relation_for, :to => :relation def attributes -- cgit v1.2.3