diff options
author | Bryan Helmkamp <bryan@brynary.com> | 2009-05-18 00:59:08 -0400 |
---|---|---|
committer | Bryan Helmkamp <bryan@brynary.com> | 2009-05-18 00:59:08 -0400 |
commit | 1234c926cce2a979ec967a8c5bc6ba58cda1ce71 (patch) | |
tree | 66b761adc84c1f4c0c9a769c56a61b3a19036606 | |
parent | d3c343c6afdc65ca959beaeb20d71dd9f2fcf93f (diff) | |
download | rails-1234c926cce2a979ec967a8c5bc6ba58cda1ce71.tar.gz rails-1234c926cce2a979ec967a8c5bc6ba58cda1ce71.tar.bz2 rails-1234c926cce2a979ec967a8c5bc6ba58cda1ce71.zip |
Cleaning up Sql::Engine#read
-rw-r--r-- | lib/arel/engines/sql/engine.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/arel/engines/sql/engine.rb b/lib/arel/engines/sql/engine.rb index 5a8c9f16c5..7d2926040c 100644 --- a/lib/arel/engines/sql/engine.rb +++ b/lib/arel/engines/sql/engine.rb @@ -19,13 +19,7 @@ module Arel end def read(relation) - # FIXME rows = connection.select_rows(relation.to_sql) - - class << rows - include Enumerable - end - Array.new(rows, relation.attributes) end |