sunspot

https://github.com/sunspot/sunspot

JavaScript

Solr-powered search for Ruby objects

Sunspot::SessionProxy::ClassShardingSessionProxy#remove_by_id

See Sunspot.remove_by_id

Source | Google | Stack overflow

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 branch

git checkout -b -your-name--update-docs-Sunspot--SessionProxy--ClassShardingSessionProxy-remove_by_id-for-pr


# Commit to git

git add sunspot/lib/sunspot/session_proxy/class_sharding_session_proxy.rbgit commit -m "better docs for Sunspot::SessionProxy::ClassShardingSessionProxy#remove_by_id"


# 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--ClassShardingSessionProxy-remove_by_id-for-pr

hub pull-request


# Celebrate!