RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in