On Mon, Mar 12, 2007 at 05:02:53PM +0100, Xavier Belanche wrote:
> Hi folks,
> I've working and playing with acts_as_ferret and follow this fantastic
> tutorial:
> http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial
>
> When I try to implement the field storage tip, it crash. So, I try to
> make it via script/console:
>
> 1. I have a simple model called Articles:
> class Article < ActiveRecord::Base
> acts_as_ferret :fields => ['title']
> end
you'll have to tell aaf to store field values in the index:
acts_as_ferret :fields => { :title => { :store => :yes } }
Jens
--
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[EMAIL PROTECTED] | www.webit.de
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk