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
> [email protected]
> http://rubyforge.org/mailman/listinfo/ferret-talk

-- 
webit! Gesellschaft für neue Medien mbH          www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer       [EMAIL PROTECTED]
Schnorrstraße 76                         Tel +49 351 46766  0
D-01069 Dresden                          Fax +49 351 46766 66
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to