Skip to content

tylerhunt/coercion

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages