Acts_as_ferret, Displaying score on a search results page

Am I missing something or would I need to use find_id_by_contents and
populate a results list with my own objects (or add ‘score’ to my AR
instances and populate that) in order to be able to get a score out when
iterating the results (like on a search results page)?

Said another way, it seems find_by_contents does not provide any access
to score in the resulting list. Is this true?



Hi John,

Looks like it’s possible in SVN:


On Thu, Nov 23, 2006 at 06:29:19AM +0100, Pete Royle wrote:

Hi John,

Looks like it’s possible in SVN:

that’s right :slight_smile:


webit! Gesellschaft für neue Medien mbH
Dipl.-Wirtschaftsingenieur Jens Krämer [email protected]
Schnorrstraße 76 Tel +49 351 46766 0
D-01069 Dresden Fax +49 351 46766 66