-
Notifications
You must be signed in to change notification settings - Fork 58
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
Scope: Search conflicting with Ransack/Active Admin in Rails 4.1.1 #62
Labels
Comments
+1 |
I think name of |
+1 |
Thinking Sphinx is adding Solution from #73 by @danielpclark helps. Thanks! |
Closed by #96 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
thanks for the work on the gem.
After updating to Rails 4.1.1, I get the following error:
This is due to me having installed Active Admin, which requires Ransack. Ransack also defines :search as an alias to :ransack (see here: activerecord-hackery/ransack#369). I've taken efforts to change all of my own :search scopes, but now I have to find a way to either change ransack's or messageable's scope to avoid this error.
My understanding of how to do this is currently limited, the advice in the link above regarding "remove_class" only leads to other, cascading problems. Is it possible to change the name of the scope or to have an initializer setting that renames the method?
I assume quite a few people use the "search" scope, I don't require it.
The text was updated successfully, but these errors were encountered: