On Thu, Nov 15, 2007 at 12:24:25AM +0100, Hongli Lai wrote:
> Alain Ravet wrote:
> >   class Country < ActiveRecord::Base
> >     acts_as_ferret(  
> >       :fields => [:name] ,
> >       :remote => true,
> >       :ferret =>  {:analyzer => Test2Analyzer.new([]) } 
> >     )
> >   end
> 
> Try this:
> 
> acts_as_ferret({ :fields => [:name], :remote => true },
> { :analyzer => Test2Analyzer.new([]) })

this won't help, these are both valid ways to call acts_as_ferret. The
:ferret syntax is the preferred one, however.

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

Reply via email to