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).

I tried deleting my browser session and rebuilding the index (by 
deleting it).

Im still getting the same error. Any ideas?

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to