Created
July 13, 2016 10:56
-
-
Save asok/096124fe6076593e4a521d72766cf989 to your computer and use it in GitHub Desktop.
Re-use of ActiveRecord's coercion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Documas::Study.connection.type_map.fetch("boolean").type_cast_from_user("0") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment