0.0
No release in over 3 years
Low commit activity in last 3 years
Name search uses common nick names and first name/last name ordering to perform its searches.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 5.2.0
 Project Readme

Name Search¶ ↑

<img src=“https://travis-ci.org/paulyoder/name_search.png?branch=master” alt=“Build Status” />

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’

Installation¶ ↑

Add the gem to the gemfile

gem 'name_search'

Generate the migration file

rails generate name_search:migration

Run the migration

rake db:migrate

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

rake name_search:add_census_nick_names

Other common nick names that are not part of the 1990 census

rake name_search:add_contributed_nick_names