Skip to content
A plugin for ActiveRecord to strip string and coerce empty strings to nil on assignment.
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
.gitignore
CHANGELOG.md
Gemfile
LICENSE
README.md
Rakefile
coercion.gemspec

README.md

Coercion

An ActiveRecord plugin to strip string values and coerce empty strings to nil values on assignment.

Installation

Add the coercion gem to your Gemfile:

gem 'coercion'

Then run bundle install to install the gem.

Copyright

Copyright © 2008-2012 Tyler Hunt. See LICENSE for details.

Something went wrong with that request. Please try again.