Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby on Rails plugin to ensure nullable databases columns are set to null rather than empty strings
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
rails
tasks
test
.gitignore
CHANGELOG
MIT-LICENSE
README
Rakefile
VERSION
init.rb
nullify_blanks.gemspec

README

== NullifyBlanks

This plugin makes ActiveRecord write blank strings as null to
nullable columns in the database rather than zero length strings.

Just drop the plugin into your plugins folder and that’s all there
is to it. There’s a rake task to nullify zero length strings in
existing records if required.

Copyright (c) 2009 Andrew White, released under the MIT license
Something went wrong with that request. Please try again.