Hi Jim,
We'll need a little more info.
What stage are you at? Do you have sphinx running? Does your model have
an index defined? Can you show us some queries have you've tried that
don't quite work? Are aasm_state and expires_at fields or attributes?
If you have code samples they can also make a huge difference in helping
us understand your issue.
-- James Healy <jimmy-at-deefa-dot-com> Tue, 03 Mar 2009 09:57:50 +1100
Jim Neath wrote:
>
> I'm basically trying to achieve the following with TS:
>
> WHERE aasm_state = 'basic' OR (aasm_state = 'enhanced' AND expires_at
> >= #{Time.now})
>
> Any tips on where to start would be brilliant.
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---