Duane,
When I comment-out the ‘validate_options’ lines in self.search, it
works.
I’m relieved!
The ‘validate_options’ should still be fixed. But at least it works with
‘searches_on :all’ or without it.
After the ‘validate_options’ problem is solved, it would be good to
please update the ‘search.rb’ code on the Rails wiki:
Thank you very much for your help!
Matt
Wagner, Matt C. wrote:
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/bas
e.rb:991:in
method_missing' #{RAILS_ROOT}/lib/search.rb:50:in
search’
#{RAILS_ROOT}/app/controllers/foobar_controller.rb:58:in `search’The error is the same with or without ‘searches_on :all’ in the model
file.Where do you have ‘validate_options’ defined?
–
Matt C. Wagner
Information Security Analyst
Network Intrusion Detection
Security Operations Center
Corporate Information Security
Wells Fargo Bank