RubyGems.org

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.

installgem install nilify_blanks
Authors

Ben Hughes

10,461 total downloads 10,461 for this version
Owners

92772ff5353c89d9bd10f8e334161e16

Gemfile
gem "nilify_blanks", "~> 1.0.0"
Versions
  1. 1.0.0 October 13, 2010