Created
October 14, 2010 01:17
-
-
Save nz/625343 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If updates have been made, the Sunspot::Rails plugin will issue a commit at the end of a request | |
# using an after_filter. It checks two config variables first, which you can use to disable | |
# the automatic commits if you want a different commit policy. | |
Sunspot::Rails.configuration.auto_commit_after_request = false | |
Sunspot::Rails.configuration.auto_commit_after_delete_request = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment