Hi all,

I was playing with the sample project found on the Wiki at
      http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails
, and everything was working fine, ... till I moved to EdgeRails :
    undefined method `weight' for #<Hash:0x22c7150>

(full error thread below)

Any idea?

Alain


/Users/aravet/Desktop/Locomotive/Bundles/RubyonRails-1.0-Min.locobundle/Contents/Resources/unix/lib/ruby/site_ruby/1.8/ferret/search/index_searcher.rb:107:in
 
`search'
/Users/aravet/Desktop/Locomotive/Bundles/RubyonRails-1.0-Min.locobundle/Contents/Resources/unix/lib/ruby/site_ruby/1.8/ferret/index/index.rb:622:in
 
`do_search'
/Users/aravet/Desktop/Locomotive/Bundles/RubyonRails-1.0-Min.locobundle/Contents/Resources/unix/lib/ruby/site_ruby/1.8/ferret/index/index.rb:317:in
 
`search_each'
/Users/aravet/Desktop/Locomotive/Bundles/RubyonRails-1.0-Min.locobundle/Contents/Resources/unix/lib/ruby/1.8/monitor.rb:229:in
 
`synchronize'
/Users/aravet/Desktop/Locomotive/Bundles/RubyonRails-1.0-Min.locobundle/Contents/Resources/unix/lib/ruby/site_ruby/1.8/ferret/index/index.rb:316:in
 
`search_each'
#{RAILS_ROOT}/app/models/result.rb:27:in `search_index'
#{RAILS_ROOT}/app/models/result.rb:15:in `count'
#{RAILS_ROOT}/app/controllers/search_controller.rb:31:in `get_results'

Any idea



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

Reply via email to