Sha256: 21a344bef66a52a4c1012dd46b31197ca9a18858c74296db8820c681f3b41de0

Contents?: true

Size: 307 Bytes

Versions: 102

Compression:

Stored size: 307 Bytes

Contents

module ActiveRecord
  module ConnectionAdapters
    module PostgreSQL
      module OID # :nodoc:
        class Decimal < Type::Decimal # :nodoc:
          def infinity(options = {})
            BigDecimal.new("Infinity") * (options[:negative] ? -1 : 1)
          end
        end
      end
    end
  end
end

Version data entries

102 entries across 100 versions & 10 rubygems

Version Path
solidus_backend-1.0.0.pre3 vendor/bundle/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/oid/decimal.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/oid/decimal.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/activerecord-4.2.1/lib/active_record/connection_adapters/postgresql/oid/decimal.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/activerecord-4.2.2/lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-4.2.3 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-4.2.3.rc1 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-4.2.2 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-4.2.1 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-4.2.1.rc4 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-4.2.1.rc3 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-4.2.1.rc2 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-4.2.1.rc1 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activejob-lock-0.0.1 rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-4.2.0 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-4.2.0.rc3 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-4.2.0.rc2 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-4.2.0.rc1 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-4.2.0.beta4 lib/active_record/connection_adapters/postgresql/oid/decimal.rb
activerecord-4.2.0.beta3 lib/active_record/connection_adapters/postgresql/oid/decimal.rb