edge badge
Methods
T
Instance Public methods
type_cast(value)
# File activerecord/lib/active_record/connection_adapters/mysql_adapter.rb, line 367
def type_cast(value)
  return if value.nil?

  ConnectionAdapters::Column.value_to_decimal value
end