On 10/18/06, Eric Gross <[EMAIL PROTECTED]> wrote: > Anyone? > Jens already replied to this (see below). I have no idea why it didn't make it onto rubyforum. Try joining the mailing list.
Cheers, Dave On 10/13/06, Jens Kraemer <[EMAIL PROTECTED]> wrote: > On Fri, Oct 13, 2006 at 09:41:36AM +0200, Eric Gross wrote: > > Hi, > > > > Im having problems using the multi_search command. I keep getting the > > following error. > > > > "undefined method `<<' for Book:Class" > > > > here is the code associated with this. > > > > class Book < ActiveRecord::Base > > acts_as_ferret :store_class_name => true > > end > > > > > > class User < ActiveRecord::Base > > acts_as_ferret :store_class_name => true > > end > > > > and the call is the following > > > > t=User.multi_search(@query,Book). > > try this: > > t = User.multi_search(@query, [ Book ]) > > > I just committed a fix so that > > t=User.multi_search(@query,Book) > will work, too. > > cheers, > Jens _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

