Hi Ian I'm not sure if there's any best practice here, but Rails does have inbuilt time form helpers, which you could use... you'd then need to translate these into actual Time objects for use in the :with option.
Would provide a bit more detail, but I'm pretty flat out, and behind on other TS support emails :) Cheers -- Pat On 19/07/2010, at 9:10 AM, Chiyu Ian He wrote: > Awesome thanks Pat, > > Just one more quick question. How would I organize the view to take in > the from_time and to_time? > > Thanks, > > Ian > > -- > 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. > -- 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.
