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

  value.to_f
end