Hi Garrett

So it turned out after_commit 1.0.9 was breaking the tests - and it's been a 
little while since I bundled the latest version of that into TS-as-a-plugin. 
1.0.10 is now released, which fixes these problems. If you've got some spare 
time, maybe give using TS as a gem another shot?

Sorry for the hassle!

Cheers

-- 
Pat

On 13/06/2011, at 11:32 PM, Garrett Dimon wrote:

> All of the failing tests are ours, and while they were similar, we couldn't 
> find a consistent shared facet among them that would be an obvious 
> explanation. It was a variety of tests that would fail.
> 
> I haven't circled back to look at it, but, based on the tests that were 
> failing, our gut feeling is that the after_commit hook for the delayed deltas 
> is potentially being loaded and behaving ever so slightly differently with 
> the gem version because of the way Rails loads things.
> 
> They're working just fine as plugins, so I'm not too worried about it right 
> now. I'll definitely let you know as soon as I figure it out.
> 
> - Garrett
> 
> On Jun 13, 2011, at 7:41 AM, Pat Allan wrote:
> 
>> Hi Garrett
>> 
>> Generally, installing TS and ts-delayed-delta as gems is what I recommend - 
>> so ideally, if you can use them as gems, do that. Which tests are failing, 
>> though? Are the failing tests related to search/TS?
>> 
>> Cheers
>> 
>> -- 
>> Pat
>> 
>> On 10/06/2011, at 7:55 PM, Garrett Dimon wrote:
>> 
>>> I'm encountering an unusual issue where Thinking Sphinx and TS Delayed
>>> Delta work fine as long as I install them as plugins. However,
>>> whenever I try to switch over to using gems, about half of our tests
>>> begin to fail.
>>> 
>>> Here's what I've tried...
>>> 
>>> Checking the versions installed as plugins, I had thinking-sphinx
>>> 1.3.19 and ts-delayed-delta 1.1.0. I attempted to use those same
>>> versions as gems using...
>>> 
>>> config.gem 'thinking-sphinx', :lib => 'thinking_sphinx', :version =>
>>> '1.3.19'
>>> config.gem 'ts-delayed-delta', :lib => 'thinking_sphinx/deltas/
>>> delayed_delta', :version => '1.1.0'
>>> 
>>> I also added the tasks to the rakefile.
>>> 
>>> With only this change from plugins to gems, about 40% of our tests
>>> start failing. I've also tried using newer versions of both. We're
>>> running Rails 2.3.12, and the application runs fine with all of the
>>> thinking sphinx parts of the site working fine. Rake tasks run.
>>> Indexing works. It's just that our tests start failing.
>>> 
>>> Have you seen this before? Should I just give up on the gems and run
>>> it off the plugins?
>>> 
>>> Thanks for your help.
>>> 
>>> -- 
>>> 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.
>>> 
>> 
>> -- 
>> 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.
>> 
> 
> -- 
> 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.
> 

-- 
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