Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Adds methods for displaying names from columns for each part of the name (first, last, middle, suffix)
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

README

ActsAsHumanName
===============

Adds two methods to your model:

regular_name: "David Christiansen"
full_name: "Christiansen, David Ray III"


The tests don't work yet. I need to figure out how to include shoulda. Also, you can't configure the names of the columns I use yet. They have to be first_name, last_name, middle_name, and suffix.


Example
=======

acts_as_human_name


Copyright (c) 2010 David Christiansen, released under the MIT license
Something went wrong with that request. Please try again.