pg_search
https://github.com/casecommons/pg_search
Ruby
pg_search builds ActiveRecord named scopes that take advantage of PostgreSQL’s full text search
Gitlab::ImportExport::JsonHashBuilder#handle_model_object
Creates or adds to an existing hash an individual model or list +current_key+ main model that will be a key in the hash +model_object+ model or list of models to include in the hash +json_config_hash+ the original hash containing the root model
Edit
git clone [email protected]:casecommons/pg_search.git
cd pg_search
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Gitlab--ImportExport--JsonHashBuilder-handle_model_object-for-pr
# Commit to gitgit add git commit -m "better docs for Gitlab::ImportExport::JsonHashBuilder#handle_model_object"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Gitlab--ImportExport--JsonHashBuilder-handle_model_object-for-pr
hub pull-request
# Celebrate!