diff options
author | Martin Little <mlittle@tempusfactor.com> | 2011-05-16 09:30:40 -0400 |
---|---|---|
committer | Martin Little <mlittle@tempusfactor.com> | 2011-05-16 09:30:40 -0400 |
commit | 157969a565606277575bd436f64434a2a5b1d4a2 (patch) | |
tree | 7441ff6a0dd05bbc51cba633d630b99b208ab80c /lib/arel/visitors | |
parent | ca6e7f71da7ed23aa723adb6611bf1fbb06e2137 (diff) | |
download | rails-157969a565606277575bd436f64434a2a5b1d4a2.tar.gz rails-157969a565606277575bd436f64434a2a5b1d4a2.tar.bz2 rails-157969a565606277575bd436f64434a2a5b1d4a2.zip |
Removed some old dev code
Diffstat (limited to 'lib/arel/visitors')
-rw-r--r-- | lib/arel/visitors/informix.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/arel/visitors/informix.rb b/lib/arel/visitors/informix.rb index cd2ec5d265..25eef1e6de 100644 --- a/lib/arel/visitors/informix.rb +++ b/lib/arel/visitors/informix.rb @@ -1,12 +1,8 @@ module Arel module Visitors class Informix < Arel::Visitors::ToSql - @skip = nil - @first = nil private def visit_Arel_Nodes_SelectStatement o -# @skip = o.offset if o.offset -# @first = o.limit if o.limit [ "SELECT", (visit(o.offset) if o.offset), @@ -17,8 +13,6 @@ module Arel ].compact.join ' ' end def visit_Arel_Nodes_SelectCore o - # s,f = @skip,@first - # @skip, @first = nil,nil [ "#{o.projections.map { |x| visit x }.join ', '}", ("FROM #{visit o.froms}" if o.froms), @@ -27,7 +21,6 @@ module Arel (visit(o.having) if o.having), ].compact.join ' ' end - #(visit(o.offset) if o.offset) def visit_Arel_Nodes_Offset o "SKIP #{visit o.expr}" end |