Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Adds methods for displaying names from columns for each part of the name (first, last, middle, suffix)

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages