On Thu, Aug 24, 2006 at 07:34:05PM +0200, Raul Murciano wrote:
> Disclaimer: ferret newbie here, don't blame too hard.
> 
> Hi, I'm trying to apply acts_as_ferret to apply search to my Person 
> model:
> 
> class Person < ActiveRecord::Base
>   validates_presence_of :name, :surname
>   acts_as_ferret :fields => [ 'name', 'surname' ]

As of Ferret 0.10, you should use symbols only as field names.

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
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to