Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Adds the ability to normalize attributes cleanly with code blocks and predefined normalizers
Ruby

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
MIT-LICENSE
README.textile
Rakefile
init.rb

README.textile

Attribute Normalizer

Install as a Ruby gem

TODO: gem-er-a-size this!

Install as a Ruby on Rails Plugin

The traditional way.

./script/plugin install git://github.com/mdeering/attribute_normalizer.git

or the old-school but still c00l way!

piston import git://github.com/mdeering/attribute_normalizer.git vendor/plugins/attribute_normalizer

or for all you hip gitsters.

git submodule add git://github.com/mdeering/attribute_normalizer.git vendor/plugins/attribute_normalizer git submodule init

Usage

This eager loaded into Active Record

Credits

Original module code and concept was taken from Dan Kubb during a project we worked on together. I found that I was consistently using this across all my projects so I wanted to plugin-er-size and gem this up for easy reuse.

Something went wrong with that request. Please try again.