Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails Session setup example #20

Open
urkle opened this issue Nov 20, 2012 · 0 comments
Open

Rails Session setup example #20

urkle opened this issue Nov 20, 2012 · 0 comments

Comments

@urkle
Copy link

urkle commented Nov 20, 2012

By default using Sunspot::IndexQueue::SessionProxy.new configures things to run with default configuration and ignoring the config/sunspot.yml file. Which ignores key parameters like the port solr is running on)

Could the documentation in the README be updated to also include this recipe for Rails users

corrected
Sunspot.session = Sunspot::IndexQueue::SessionProxy.new Sunspot::IndexQueue.new(session: Sunspot::Rails.build_session)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant