Path: | lib/sequel/extensions/looser_typecasting.rb |
Last Update: | Tue Apr 09 03:30:36 +0000 2013 |
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