On Tue, Aug 28, 2007 at 11:55:21AM +0200, Steve Tooke wrote:
> Is nobody else coming across this problem?
sorry, seems your mail slipped through somehow.
In fact what you are doing is interesting - I never thought of AAF being
used on a has_many collection yet. Looks like in one place the scoping
is working correctly, but when counting the results it doesn't. As a
work around, use
Page.find_by_contents(query, {}, { :conditions => ["book_id=?", book.id ] })
to restrict aaf on a special book.
Could you please file a ticket for the enhancement to support calling
aaf directly on collections at
http://projects.jkraemer.net/acts_as_ferret/ ?
cheers,
Jens
--
Jens Krämer
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