sunspot
https://github.com/sunspot/sunspot
JavaScript
Solr-powered search for Ruby objects
Sunspot::SessionProxy::ClassShardingSessionProxy#session_for_class
Remove the Session object pointing at the shard that indexes the given class. <strong>Concrete subclasses must implement this method.</strong>
Edit
git clone [email protected]:sunspot/sunspot.git
cd sunspot
open sunspot/lib/sunspot/session_proxy/class_sharding_session_proxy.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Sunspot--SessionProxy--ClassShardingSessionProxy-session_for_class-for-pr
# Commit to gitgit add sunspot/lib/sunspot/session_proxy/class_sharding_session_proxy.rbgit commit -m "better docs for Sunspot::SessionProxy::ClassShardingSessionProxy#session_for_class"
# 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--ClassShardingSessionProxy-session_for_class-for-pr
hub pull-request
# Celebrate!