Hi Dave Can you provide the full stack trace? Also, which versions of Rails, Thinking Sphinx and Sphinx are you using?
-- Pat On 18/11/2011, at 6:51 AM, gerberdata wrote: > Sure that this question is probably answered somewhere on the site but > I am a little busy with stuff. > > I think I remember that there can be issues with polymorphic > relationships > > these two commands cause errors > > indexes favorited.name, :as=>:favorite_name > has favorited.sports(:id), :as=>:sport_ids > > rake aborted! > undefined method `connection' for NilClass:Class > > this is causing me indexing errors > > -- > 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.
