Pete wrote:
> How does that work James???
> 
> Deal.search(:with => (0..Time.zone.now.to_i))
> 
> 0..Time.zone.now.to_i .... Why 0?

0 because that is the earliest possible time sphinx can store.

> How does it even know how to use the start_time???

My bad, I stuffed up the search command. Try:

  Deal.search(:with => {:start_time => (0..Time.zone.now.to_i)})

-- James Healy <[email protected]>  Mon, 02 Nov 2009 15:14:25 +1100

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