Hey Ppl,

I want to create a condition on my search of "deals" so that it only
searches for deals that:

:conditions => [ 'start_time < ?', Time.zone.now]

I am guessing that I have to add this condition somehow to my:

@query_results = Deal.search params[:search]

But I just cant work out how to write the condition in a sphinx
friendly way...

Cheers

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