Hi all,
Every time I try to add options for the find_conditions argument of
find_by_contents I get the following:
a = AnnotatedLink.find_by_contents('test', {}, {:conditions =>
'category_id IS NOT NULL'})
>> 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.sort!
from
./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/class_methods.rb:288:in
`find_by_contents'
from (irb):1
I'm using rev 112 of acts_as ferret and the latest version of ferret.
Has anyone else had this problem?
Thanks!
Daniel
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk