I'm running the following search:

@results = ThinkingSphinx.search @search, :classes => [Post,
User], :include => :user

which results in this error:

"Association named 'user' was not found; perhaps you misspelled it?"

Posts has_many users, but obviously a User does not. Is there a way
around this (e.g. specify the include for one class), or do I need to
run two separate searches?


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