I am new to ROR. i am using thinking sphinx. I need to index with one boolean field. that is, i list out records which are active is true.
define_index do
indexes car.name, :as => :car
indexes car_model.car_make.name, :as => :car_make
indexes city_name.city , :as=> :city_name
indexes car_active, :as=>:is_active, :type=>:boolean, :default=>true
end
I need to list out car details which are belong to active is true. can you help me?