No description or website provided.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
README
Rakefile
init.rb

README

Namecase
========

This is a trivial plugin that tries to fix the case of a string if it is given a string that is all caps or all lower case

  class Person < ActiveRecord::Base
    namecase :first_name, :on => :create
  end
  
  >> Person.create(:first_name => 'larry').first_name
  => "Larry"
  >> Person.create(:first_name => 'ANNOYING').first_name
  => "Annoying"