ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Type
# File lib/arjdbc/postgresql/base/oid.rb, line 285 def infinity(options = {}) BigDecimal.new("Infinity") * (options[:negative] ? -1 : 1) end
# File lib/arjdbc/postgresql/base/oid.rb, line 277 def type; :decimal end
# File lib/arjdbc/postgresql/base/oid.rb, line 279 def type_cast(value) return if value.nil? ConnectionAdapters::Column.value_to_decimal value end
[Validate]
Generated with the Darkfish Rdoc Generator 2.