pat / thinking-sphinx

Sphinx/Manticore plugin for ActiveRecord/Rails
http://freelancing-gods.com/thinking-sphinx
MIT License
1.63k stars 468 forks source link

ActiveRecord::Associations is not missing constant JoinDependency! #225

Closed Bodacious closed 13 years ago

Bodacious commented 13 years ago

I get this error message when trying to use Thinking Sphinx with Rails 3.0.1.beta1

I tried in a new app with TS 2.0.4

Error is raised when calling #search() or trying to run any of the Rake tasks

pat commented 13 years ago

This is fixed in the rails3 branch, just not in a gem release - so use the git repo as your source, should be fine :)

Bodacious commented 13 years ago

Hi - thanks for the fast response!

I Just installed from the Rails3 branch - still having the same problem.

On 20 May 2011, at 14:40, freelancing-god wrote:

This is fixed in the rails3 branch, just not in a gem release - so use the git repo as your source, should be fine :)

Reply to this email directly or view it on GitHub: https://github.com/freelancing-god/thinking-sphinx/issues/225#comment_1210021

pat commented 13 years ago

That's odd, as the previous issue was about the same thing, and apparently worked fine. If you run bundle update thinking-sphinx do you get the same error?

(Also: was a fast response this time, but about to sleep here - a bit after midnight - so next response will be delayed somewhat :)

Bodacious commented 13 years ago

Unfortunately, yes

REE on OSX 10.6 Rails 3.0.1beta1

On 20 May 2011, at 15:24, freelancing-god wrote:

That's odd, as the previous issue was about the same thing, and apparently worked fine. If you run bundle update thinking-sphinx do you get the same error?

Reply to this email directly or view it on GitHub: https://github.com/freelancing-god/thinking-sphinx/issues/225#comment_1210278

pat commented 13 years ago

Wait, 3.0.1beta1? Or 3.1.0.beta1? If the former - any reason why you're not using 3.0.7?

Bodacious commented 13 years ago

3.1 beta

I'm using this as it has features essential for my app ( subdomians in route helpers and view inheritance)

Gavin Morrice www.gavinmorrice.com +44 7787 432 733

On 22 May 2011, at 05:35, freelancing-godreply@reply.github.com wrote:

Wait, 3.0.1beta1? Or 3.1.0.beta1? If the former - any reason why you're not using 3.0.7?

Reply to this email directly or view it on GitHub: https://github.com/freelancing-god/thinking-sphinx/issues/225#comment_1216337

pat commented 13 years ago

Ah k... well, this is definitely odd. Any chance you can share the thinking-sphinx sections of your Gemfile.lock file?

Bodacious commented 13 years ago

Does this help?

https://github.com/GavinM/ThinkingSphinxTest

Bodacious commented 13 years ago

updated to 3.1.0.rc1 with same issue :/

pat commented 13 years ago

Ah, my commits worked fine in Ruby 1.9.2, but not 1.8.7. Sorry about that - have just pushed a fix, give it a spin, let me know if there's any other problems: 067fbf1

Bodacious commented 13 years ago

Works like a gem! Thanks for responding to this so quickly!

pat commented 13 years ago

No worries, great to get it sorted :)