I have a simple query to show users that are active, but somehow it is still showing inactive users. I am using sphinx. The query looks like:
User.search keywords,:conditions=>conditions, :match_mode=>:boolean, :order =>sort_order.to_s, :page => page,:per_page =>per_page
the conditions hash looks like this:
conditions = {:is_expired => false, :is_disabled => false,...}
the condiitions include: :is_expired => false, yet it fetches those users which have :is_expired = true.
What do i need to do to make it only fetch those records that are not expired?