Last Update: 2018-05-24 16:51:22 -0700

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


use to_f instead of Float()


use to_i instead of Integer()


use 0.0 for unsupported strings


silently allow hash and array conversion to string

To load the extension into the database:

DB.extension :looser_typecasting

Related module: Sequel::LooserTypecasting