Thanks for the update, Jens!

How can I get more_like_this to work? Do I have to have my fields 
stored?

I'm getting this error when I try to run it with fields stored or not:

>> t = Topic.find(:first)
>> t.more_like_this
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.each
        from 
./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/more_like_this.rb:110:in
 
`retrieve_terms'
        from 
./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/more_like_this.rb:65:in
 
`more_like_this'
        from c:/ruby/lib/ruby/1.8/monitor.rb:229:in `synchronize'
        from 
./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/more_like_this.rb:61:in
 
`more_like_this'
        from (irb):4
>>

This is aaf trunk and ferret 0.10.4

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

Reply via email to