Try to change 1. to 2. in search.rb.
1. validate_options([:only, :except, :case, :include, :join_include,
:conditions, :offset, :limit], options.keys)
2. options.assert_valid_keys(:only, :except, :case, :include,
:join_include, :conditions, :offset, :limit)
http://dev.rubyonrails.org/changeset/2167
Yoshi
2005/11/14, Ettore Berardi
<ettober-Hn7Ry/+Fh8ReoWH0uzbU5w@public.gmane.org>:> Hi there,
>
> till 0.14 I was happily using Duane Johnson''s search lib ( http://
> wiki.rubyonrails.com/rails/pages/TextSearch ) on a couple of sites
>
> After updating I get this error:
>
> NoMethodError in Public#search
> undefined method `validate_options'' for Article:Class
>
> After a little searching I think I''ve understood that this should
be
> replaced with options.assert_valid_keys... but at this point I''m
stuck..
>
> Any hints?
>
> thanks,
>
> Ettore