cgriego/active_attr — pull request #138 by brynjargr (2014-10-31 21:06:56+00:00)
Title: Make typecasting more consistent with how typecasting works in ActiveRec...

...ord. Empty strings for numeric fields should be casted to nil, nil should be casted to nil. Invalid DateTime values should be handled the same way as invalid Date values are handled, i.e. they should be casted to nil.