aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/algebra
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-07-26 15:02:24 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-07-26 15:02:24 -0700
commit9b316874243152db47b6127372c51d4c6e97ebea (patch)
tree0ecaedd6eb6e1b8e1f149509c3e9c6c840c4a823 /lib/arel/algebra
parentd41b9c54aaafb852ff2e4fbba56962cb3eeb1837 (diff)
downloadrails-9b316874243152db47b6127372c51d4c6e97ebea.tar.gz
rails-9b316874243152db47b6127372c51d4c6e97ebea.tar.bz2
rails-9b316874243152db47b6127372c51d4c6e97ebea.zip
more class reorganization
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