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