mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Removed some old dev code
This commit is contained in:
parent
ca6e7f71da
commit
157969a565
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue