3 ms·
Rails at least used to do this when reading back from a database (eg if you had a nullable string field it would come back as nil if it happened to be the liter
by esrauch 10y ago
Rails at least used to do this when reading back from a database (eg if you had a nullable string field it would come back as nil if it happened to be the literal "nil")
Edit: IIRC there was a directive that would prevent the behavior though?