Harmon wrote:
> I looked into the delta task, and found that it calls this:
> 
> ThinkingSphinx.indexed_models      # a class accessor for
> @@indexed_models
> 
> which, running by itself, returns an empty array. This array of
> classes only gets populated when the models are required. So running
> the task alone doesn't do anything for me. Is there a way to get this
> @@indexed_models class attribute to populate with all the indexed
> models, so that the rake task will work properly?

Thinking Sphinx *should* require all your models when the rails stack
(re)loads (see rails/init.rb).

How are you using TS - a system gem? a vendored gem? a plugin?

-- James Healy <jimmy-at-deefa-dot-com>  Tue, 04 Aug 2009 11:29:51 +1000

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