Hello,
Can't figure out to query the following :
MyModel.search "" , :conditions => { :level => option1, :level =>
option2 }, :with => {:option_spec_id => option2.spec.id }
The point is option1 and option2 are mutually exclusive by default. I
want everything that correspond to option1 and the one that correspond
to options 2 but only for the given spec.
Hope I was clear enough!
Thanks!
--
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.