aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/algebra
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/algebra')
-rw-r--r--lib/arel/algebra/relations/operations/from.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/algebra/relations/operations/from.rb b/lib/arel/algebra/relations/operations/from.rb
index fbddb4234f..3ebfb10cb2 100644
--- a/lib/arel/algebra/relations/operations/from.rb
+++ b/lib/arel/algebra/relations/operations/from.rb
@@ -6,5 +6,9 @@ module Arel
super(relation)
@sources = sources
end
+
+ def eval
+ unoperated_rows[sources..-1]
+ end
end
end