Hi,

My model Foo has_many :associations.
Foo and Association models has the default rails Timestamps.

Here is a part of my Foo index block :

   define_index do

     # indexes ...

     has id, created_at, updated_at
     has associations.updated_at, :as => : association_updated_dates

     # other
     set_property :delta => true
   end

I want to search for foos with no associations.updated_at after 6  
month ago.

But this :

Foo.search :without => {: association_updated_dates =>  
6.month.ago..Time.now}

returns an empty array, whatever the values in the  
association.update_at column ...

Am I missing something here ?

++
Ju


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