Ah, this is the problem with dealing with edge... some complained about the 
fact that I wasn't using descendants, so I changed it.

Here's the best approach:
* If you're using edge Rails, use edge TS.
* If you're using Rails 3 pre-release gems, use the TS pre-release gem.

Sorry for the confusion.

-- 
Pat

On 27/07/2010, at 9:55 AM, Raphael wrote:

> for me too
> 
> On 26 jul, 12:41, Eric <[email protected]> wrote:
>> http://github.com/freelancing-god/thinking-sphinx/commit/5fe4a03953f8...
>> seems to have introduced a bug related to descendants.  I get a stack
>> trace like this when defining an index:
>> 
>> /Users/ehansen/.rvm/gems/ruby-1.8.7-tv1_8_7_174/gems/
>> activerecord-3.0.0.beta4/lib/active_record/base.rb:1041:in
>> `method_missing': undefined method `descendants' for
>> ActiveRecord::Base:Class (NoMethodError)
>>         from /Users/ehansen/.rvm/gems/ruby-1.8.7-tv1_8_7_174/bundler/gems/
>> thinking-sphinx-0e27550f2fedf4381ef674623dbf6e7511582e04-rails3/lib/
>> thinking_sphinx/context.rb:58:in `send'
>>         from /Users/ehansen/.rvm/gems/ruby-1.8.7-tv1_8_7_174/bundler/gems/
>> thinking-sphinx-0e27550f2fedf4381ef674623dbf6e7511582e04-rails3/lib/
>> thinking_sphinx/context.rb:58:in `load_models'
>>         from /Users/ehansen/.rvm/gems/ruby-1.8.7-tv1_8_7_174/bundler/gems/
>> thinking-sphinx-0e27550f2fedf4381ef674623dbf6e7511582e04-rails3/lib/
>> thinking_sphinx/context.rb:54:in `each'
>>         from /Users/ehansen/.rvm/gems/ruby-1.8.7-tv1_8_7_174/bundler/gems/
>> thinking-sphinx-0e27550f2fedf4381ef674623dbf6e7511582e04-rails3/lib/
>> thinking_sphinx/context.rb:54:in `load_models'
>>         from /Users/ehansen/.rvm/gems/ruby-1.8.7-tv1_8_7_174/bundler/gems/
>> thinking-sphinx-0e27550f2fedf4381ef674623dbf6e7511582e04-rails3/lib/
>> thinking_sphinx/context.rb:53:in `each'
>>         from /Users/ehansen/.rvm/gems/ruby-1.8.7-tv1_8_7_174/bundler/gems/
>> thinking-sphinx-0e27550f2fedf4381ef674623dbf6e7511582e04-rails3/lib/
>> thinking_sphinx/context.rb:53:in `load_models'
>>         from /Users/ehansen/.rvm/gems/ruby-1.8.7-tv1_8_7_174/bundler/gems/
>> thinking-sphinx-0e27550f2fedf4381ef674623dbf6e7511582e04-rails3/lib/
>> thinking_sphinx/context.rb:15:in `prepare'
>>         from /Users/ehansen/.rvm/gems/ruby-1.8.7-tv1_8_7_174/bundler/gems/
>> thinking-sphinx-0e27550f2fedf4381ef674623dbf6e7511582e04-rails3/lib/
>> thinking_sphinx.rb:68:in `context'
>>         from /Users/ehansen/.rvm/gems/ruby-1.8.7-tv1_8_7_174/bundler/gems/
>> thinking-sphinx-0e27550f2fedf4381ef674623dbf6e7511582e04-rails3/lib/
>> thinking_sphinx.rb:65:in `synchronize'
>>         from /Users/ehansen/.rvm/gems/ruby-1.8.7-tv1_8_7_174/bundler/gems/
>> thinking-sphinx-0e27550f2fedf4381ef674623dbf6e7511582e04-rails3/lib/
>> thinking_sphinx.rb:65:in `context'
>>         from /Users/ehansen/.rvm/gems/ruby-1.8.7-tv1_8_7_174/bundler/gems/
>> thinking-sphinx-0e27550f2fedf4381ef674623dbf6e7511582e04-rails3/lib/
>> thinking_sphinx/active_record.rb:135:in `define_index'
>>         from /Users/ehansen/fluxx/fluxx_crm_ri/app/models/user.rb:15
> 
> -- 
> 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