Skip to content

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

License

Notifications You must be signed in to change notification settings

davidray/acts_as_human_name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages