Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Adds methods for displaying names from columns for each part of the name (first, last, middle, suffix)
Ruby
branch: master

This branch is 1 commit ahead, 1 commit behind davidray: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.