edge badge
Methods
T
Instance Public methods
type()
# File activerecord/lib/active_record/connection_adapters/postgresql/oid.rb, line 254
def type; :float end
type_cast(value)
# File activerecord/lib/active_record/connection_adapters/postgresql/oid.rb, line 256
def type_cast(value)
  return if value.nil?

  value.to_f
end