pg_search

https://github.com/casecommons/pg_search

Ruby

pg_search builds ActiveRecord named scopes that take advantage of PostgreSQL’s full text search

MergeRequests::BuildService#assign_title_and_description

When your branch name starts with an iid followed by a dash this pattern will be
interpreted as the user wants to close that issue on this project.

For example:
- Issue 112 exists, title: Emoji don't show up in commit title
- Source branch is: 112-fix-mep-mep

Will lead to:
- Appending `Closes #112` to the description
- Setting the title as 'Resolves "Emoji don't show up in commit title"' if there is
  more than one commit in the MR

Source | Google | Stack overflow

Edit

git clone [email protected]:casecommons/pg_search.git

cd pg_search

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-MergeRequests--BuildService-assign_title_and_description-for-pr


# Commit to git

git add git commit -m "better docs for MergeRequests::BuildService#assign_title_and_description"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-MergeRequests--BuildService-assign_title_and_description-for-pr

hub pull-request


# Celebrate!