Often times you'll end up with empty strings where you really want nil at the database level. This plugin automatically converts blanks to nil and is configurable.
Ben Hughes
gem "nilify_blanks", "~> 1.0.0"