File: looser_typecasting.rb [sequel-4.26.0 Documentation]

Last Modified
  2015-09-28 18:31:14 +0000
Requires

## Description

The LooserTypecasting extension loosens the default database typecasting for the following types:

:float | use to_f instead of Float()
:integer | use to_i instead of Integer()
:decimal | don't check string conversion with Float()
:string | silently allow hash and array conversion to string

To load the extension into the database:

    DB.extension :looser_typecasting