Take control of your field values with nilify_blanks
Hate how NULLable columns end up as empty strings in the database when models are used in conjunection with Rails forms? If you would prefer to keep the field NULL when the user doesn’t provide a value, nilify_blanks lets you do this automatically.
Post a comment