pg_search

https://github.com/casecommons/pg_search

Ruby

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

CommitsHelper#commit_author_link

Returns a link to the commit author. If the author has a matching user and
is a member of the current @project it will link to the team member page.
Otherwise it will link to the author email as specified in the commit.

options:
 avatar: true will prepend the avatar image
 size:   size of the avatar image in px

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-CommitsHelper-commit_author_link-for-pr


# Commit to git

git add git commit -m "better docs for CommitsHelper#commit_author_link"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-CommitsHelper-commit_author_link-for-pr

hub pull-request


# Celebrate!