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?

Thanks!

John

Hi John,

Looks like it’s possible in SVN:
http://projects.jkraemer.net/acts_as_ferret/ticket/52

Pete.

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

Hi John,

Looks like it’s possible in SVN:
http://projects.jkraemer.net/acts_as_ferret/ticket/52

that’s right :slight_smile:

Jens


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