Sha256: 345ce2bb7dc7e7f26d906e0cba07f9e1de44dd171459f1504e7966324e41d782

Contents?: true

Size: 278 Bytes

Versions: 5

Compression:

Stored size: 278 Bytes

Contents

module Torque
  module PostgreSQL
    module Arel
      module Visitors
        def visit_Arel_SelectManager o, collector
          collector << '('
          visit(o.ast, collector) << ')'
        end
      end

      ::Arel::Visitors::ToSql.prepend Visitors
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
torque-postgresql-0.1.7 lib/torque/postgresql/arel/visitors.rb
torque-postgresql-0.1.6 lib/torque/postgresql/arel/visitors.rb
torque-postgresql-0.1.5 lib/torque/postgresql/arel/visitors.rb
torque-postgresql-0.1.4 lib/torque/postgresql/arel/visitors.rb
torque-postgresql-0.1.3 lib/torque/postgresql/arel/visitors.rb