that of course works if :area_id is an indexed field.
If area_id is not indexed, the :conditions option can be used to limit
the find call that retrieves the model instances via ActiveRecord. Note
that you might get less results than expected when using :conditions,
since AR filters records out that Ferret counted as a hit.
that of course works if :area_id is an indexed field.
If area_id is not indexed, the :conditions option can be used to limit
the find call that retrieves the model instances via ActiveRecord. Note
that you might get less results than expected when using :conditions,
since AR filters records out that Ferret counted as a hit.
that should read :conditions => [ “live=‘t’” ] . the clause gets shifted
from the array and ANDed with aaf’s own where clause, and any additional
parameters get added to the conditions array that is the issued to
ActiveRecord.
But that doesn’t seem to be your exact problem… What version of aaf do
you use ? From the line number that doesn’t seem to be latest trunk or
the last
version tagged stable ?