sunspot

https://github.com/sunspot/sunspot

JavaScript

Solr-powered search for Ruby objects

Sunspot::SessionProxy::MasterSlaveSessionProxy#config

By default, return the configuration for the master session. If the
+delegate+ param is +:slave+, then return config for the slave session.

Source | Google | Stack overflow

Edit

git clone [email protected]:sunspot/sunspot.git

cd sunspot

open sunspot/lib/sunspot/session_proxy/master_slave_session_proxy.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Sunspot--SessionProxy--MasterSlaveSessionProxy-config-for-pr


# Commit to git

git add sunspot/lib/sunspot/session_proxy/master_slave_session_proxy.rbgit commit -m "better docs for Sunspot::SessionProxy::MasterSlaveSessionProxy#config"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Sunspot--SessionProxy--MasterSlaveSessionProxy-config-for-pr

hub pull-request


# Celebrate!