aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/relations/compound.rb
diff options
context:
space:
mode:
authorNick Kallen <nkallen@nick-kallens-computer-2.local>2008-05-04 16:50:03 -0700
committerNick Kallen <nkallen@nick-kallens-computer-2.local>2008-05-04 16:50:03 -0700
commitf413129f37bbbc4100317cb60179f43291e69f8e (patch)
treef640bfb9223d60f7ed46add9f157f30048b245bb /lib/arel/relations/compound.rb
parent85bc3b417dc4e1ecad76fa89b5d195e2db8f5ff5 (diff)
downloadrails-f413129f37bbbc4100317cb60179f43291e69f8e.tar.gz
rails-f413129f37bbbc4100317cb60179f43291e69f8e.tar.bz2
rails-f413129f37bbbc4100317cb60179f43291e69f8e.zip
Table names seem to be disambiguated.
- Code is a mess, about to undergo some refactoring
Diffstat (limited to 'lib/arel/relations/compound.rb')
-rw-r--r--lib/arel/relations/compound.rb4
1 files changed, 2 insertions, 2 deletions
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