Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Coerce blank strings into nil objects for ActiveRecord
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.document
.gitignore
LICENSE
README.rdoc
Rakefile

README.rdoc

Coercionlogic

Extremely simple module to coerce blank strings into nil objects for ActiveRecord to create consistency in your database data. It keeps you from having to write query conditions like:

name = '' OR name IS NULL

This library is part of my attempt to start pulling out common code in my applications and sharing them via gems.

Copyright © 2008 Ben Johnson of Binary Logic, released under the MIT license

Something went wrong with that request. Please try again.