In order to run autospec while I run my cucumber features I need two
separate test databases so that the tests don't conflict. I decided to
create a clone of my test environment called features. I created
config/environment/features.rb and copy-pasted test.rb. I added a
features database to database.yml and also added a line in sphinx.yml
as well. This all works fine (my cucumber features run), except that
they're slow because of all the index output. I would love to turn off
TS's updates, but for some reason when I add
ThinkingSphinx.updates_enabled = false to features.rb I get crazy
stack too deep errors:

stack level too deep (SystemStackError)
(eval):3:in `save_without_after_commit_callback!'
(eval):2:in `save_without_after_commit_callback!'
/Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
thinking_sphinx/active_record/delta.rb:48:in
`save_without_instrument_19725140!'
(eval):3:in `save_without_after_commit_callback!'
(eval):2:in `save_without_after_commit_callback!'
/Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
thinking_sphinx/active_record/delta.rb:48:in
`save_without_instrument_19725140!'
(eval):3:in `save_without_after_commit_callback!'
(eval):2:in `save_without_after_commit_callback!'
/Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
thinking_sphinx/active_record/delta.rb:48:in
`save_without_instrument_19725140!'
(eval):3:in `save_without_after_commit_callback!'
(eval):2:in `save_without_after_commit_callback!'
/Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
thinking_sphinx/active_record/delta.rb:48:in
`save_without_instrument_19725140!'
(eval):3:in `save_without_after_commit_callback!'
(eval):2:in `save_without_after_commit_callback!'
/Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
thinking_sphinx/active_record/delta.rb:48:in
`save_without_instrument_19725140!'
(eval):3:in `save_without_after_commit_callback!'
(eval):2:in `save_without_after_commit_callback!'
/Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
thinking_sphinx/active_record/delta.rb:48:in
`save_without_instrument_19725140!'
(eval):3:in `save_without_after_commit_callback!'
(eval):2:in `save_without_after_commit_callback!'
/Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
thinking_sphinx/active_record/delta.rb:48:in
`save_without_instrument_19725140!'
(eval):3:in `save_without_after_commit_callback!'
(eval):2:in `save_without_after_commit_callback!'
/Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
thinking_sphinx/active_record/delta.rb:48:in
`save_without_instrument_19725140!'
(eval):3:in `save_without_after_commit_callback!'
(eval):2:in `save_without_after_commit_callback!'
/Users/agib/Sites/site/vendor/plugins/thinking-sphinx/lib/
thinking_sphinx/active_record/delta.rb:48:in
`save_without_instrument_19725140!'
(eval):3:in `save_without_after_commit_callback!'
(eval):2:in `save_without_after_commit_callback!'
...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to