From 9b316874243152db47b6127372c51d4c6e97ebea Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 26 Jul 2010 15:02:24 -0700 Subject: more class reorganization --- lib/arel/algebra/relations/operations/from.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/arel/algebra') 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 -- cgit v1.2.3