One other thing that is WEIRD is that I have a unit test, with a single line:
assert B.create!(:a => a, :two => "Test") 1. This line fails every time I run it (the Ferret error about there not being a method called "add" on model B). 2. When I then comment out the delegate field in the acts_as_ferret declaration, and rerun the test, it works. 3. But now this is the INTERESTING bit: If I re-include (uncomment) the delegate in the acts_as_ferret declaration, and run the test again ... then the test passes! 4. And when I delete the index folder and rerun the test, it still works. 5. Then I top and start Ferret and the tests FAIL. 6. Now I do step 2. again, and the tests pass. 7. Step 3. and the test FAILS. 8. Run the test again, and it PASSES. So .... yeah. Sometimes it works - other times it doesn't. -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

