pg_search

https://github.com/casecommons/pg_search

Ruby

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

DeploymentService#terminals

Environments may have a number of terminals. Should return an array of
hashes describing them, e.g.:

    [{
      :selectors    => {"a" => "b", "foo" => "bar"},
      :url          => "wss://external.example.com/exec",
      :headers      => {"Authorization" => "Token xxx"},
      :subprotocols => ["foo"],
      :ca_pem       => "----BEGIN CERTIFICATE...", # optional
      :created_at   => Time.now.utc
    }]

Selectors should be a set of values that uniquely identify a particular
terminal

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-DeploymentService-terminals-for-pr


# Commit to git

git add git commit -m "better docs for DeploymentService#terminals"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-DeploymentService-terminals-for-pr

hub pull-request


# Celebrate!