Hi!

what you're experiencing is a result of the recent refactorings I did to
the aaf code base. Sorry for the inconvenience this has caused you - I
didn't find the time to document this properly yet.

I moved the multi search functionality from the class level methods
(like find_with_ferret) into the ActsAsFerret namespace. It has always
been a bit inconsistent calling find_with_ferret on one class, passing
in any other classes to search in via the :multi option.

To get multi search back, you should use ActsAsFerret::find like this:

@stuff = ActsAsFerret::find(
  "trumpet",
  [TeachingObject, LearningObject, Lesson, Course],
  { :page => 1, :per_page => 15 },
  {} # find options
)


Cheers,
Jens


-- 
Jens Krämer
Finkenlust 14, 06449 Aschersleben, Germany
VAT Id DE251962952
http://www.jkraemer.net/ - Blog
http://www.omdb.org/     - The new free film database
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to