Hi!

more_like_this works on a single record, not on the whole results list.


Cheers,
Jens

On Thu, Apr 10, 2008 at 09:36:32AM -0700, Jeff Webb wrote:
> Does anyone have an example of how more_like_this works in acts_as_ferret?
> I've tried the following.....
> 
> @results = Post.find_by_contents params[:q]
> @mlt = @results.more_like_this :field_names => [:subject,:body]
> 
> but get errors saying "more_like_this" is not a method of @results.
> 
> -- 
> 
> Jeff Webb
> [EMAIL PROTECTED]
> http://boowebb.com/

> _______________________________________________
> Ferret-talk mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/ferret-talk

-- 
Jens Krämer
Finkenlust 14, 06449 Aschersleben, Germany
VAT Id DE251962952
http://www.jkraemer.net/ - Blog
http://www.omdb.org/     - The new free film database
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to