looser_typecasting.rb

lib/sequel/extensions/looser_typecasting.rb
Last Update: 2013-03-01 11:48:45 -0800

The LooserTypecasting extension changes the float and integer typecasting to use the looser .to_f and .to_i instead of the more strict Kernel.Float and Kernel.Integer. To load the extension into the database:

DB.extension :looser_typecasting