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.
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 branchgit checkout -b -your-name--update-docs-Sunspot--SessionProxy--MasterSlaveSessionProxy-config-for-pr
# Commit to gitgit add sunspot/lib/sunspot/session_proxy/master_slave_session_proxy.rbgit commit -m "better docs for Sunspot::SessionProxy::MasterSlaveSessionProxy#config"
# Open pull requestgem 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!