Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A plugin for ActiveRecord to strip string and coerce empty strings to nil on assignment.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 CHANGELOG.md
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 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.