pg_search

https://github.com/casecommons/pg_search

Ruby

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

Projects::NotesController#create

This is a fix to make spinach feature tests passing:
Controller actions are returned from AbstractController::Base and methods of parent classes are
  excluded in order to return only specific controller related methods.
That is ok for the app (no :create method in ancestors)
  but fails for tests because there is a :create method on FactoryGirl (one of the ancestors)

see https://github.com/rails/rails/blob/v4.2.7/actionpack/lib/abstract_controller/base.rb#L78

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-Projects--NotesController-create-for-pr


# Commit to git

git add git commit -m "better docs for Projects::NotesController#create"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Projects--NotesController-create-for-pr

hub pull-request


# Celebrate!