Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

respond_to? :paginate returns false #46

Open
imme5150 opened this issue Nov 5, 2009 · 0 comments
Open

respond_to? :paginate returns false #46

imme5150 opened this issue Nov 5, 2009 · 0 comments

Comments

@imme5150
Copy link

imme5150 commented Nov 5, 2009

For some reason Searchlogic::Search.respond_to?(:paginate) returns false, even though you can call paginate on it.

This was messing up Hobo, so I monkey patched it:
class Searchlogic::Search
def respond_to?(symbol)
return true if symbol === :paginate
old_respond_to? symbol
end
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant