fixed in trunk, thanks!
Jens
On Mon, Aug 14, 2006 at 02:20:53PM -0700, Ryan King
wrote:> acts_as_ferret''s search results use #method_missing to forward
method
> calls to the underlying result object. However, those methods are
> represented in #respond_to?
>
> Here''s a simple fix for that:
>
> module FerretMixin
> module Acts
> module ARFerret
> class SearchResults
> def respond_to?(name)
> self.methods.include?(name) || @results.respond_to?(name)
> end
> end
> end
> end
> end
>
>
> thanks
>
> -ryan
> _______________________________________________
> Ferret-talk mailing list
> Ferret-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ferret-talk
--
webit! Gesellschaft f?r neue Medien mbH www.webit.de
Dipl.-Wirtschaftsingenieur Jens Kr?mer kraemer at webit.de
Schnorrstra?e 76 Tel +49 351 46766 0
D-01069 Dresden Fax +49 351 46766 66