Perform intelligent searches on people's names.
Name search uses common nick names and first name/last name ordering to perform its searches.
For example, a search for 'Andrew' will return matches on 'Andrew' and 'Andy', while a search for 'Andrew Smith' will return matches on 'Andy Smith' and 'Smith, Andrew'
Add the gem to the gemfile
Generate the migration file
rails generate name_search:migration
Run the migration
Populating Nick Names
A couple of rake tasks are included to pre-populate the database with common nick names.
Nick names from the 1990 census
Other common nick names that are not part of the 1990 census