Hi Jens
That works great, thanks a lot!
And thanks generally for a_a_f, it's invaluable for us.
max
On 14/04/2008, Jens Kraemer <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> what you're experiencing is a resultH 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
>
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk