aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_relation/relations/compound.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/active_relation/relations/compound.rb')
-rw-r--r--lib/active_relation/relations/compound.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_relation/relations/compound.rb b/lib/active_relation/relations/compound.rb
index 26ee92b365..46454eb628 100644
--- a/lib/active_relation/relations/compound.rb
+++ b/lib/active_relation/relations/compound.rb
@@ -3,7 +3,7 @@ module ActiveRelation
class Compound < Base
attr_reader :relation
- delegate :attributes, :attribute, :joins, :selects, :orders, :table, :inserts, :limit, :offset, :alias, :to => :relation
+ delegate :attributes, :attribute, :joins, :selects, :orders, :table_sql, :inserts, :limit, :offset, :to => :relation
end
end
end \ No newline at end of file