-
-
Notifications
You must be signed in to change notification settings - Fork 810
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
Remove deprecated #search
method
#1147
Remove deprecated #search
method
#1147
Conversation
Hmm. Tests against 6-0-stable don't pass in master branch also. |
Test failure against 6-0-stable is triggered by rails/rails#39268 . |
I've just found this failure but have no idea how to fix it yet. Also, this method should be Rails non-public API which can be changed without warnings. |
FYI #1171 addresses the CI failure. |
@y-yagi please rebase and rerun the CI |
33d8fbe
to
7983167
Compare
@seanfcarroll Done! |
Thanks @y-yagi as this is removing deprecated functions, it should be on a major version bump, ie: 3.0.0 Will do it when that version is released. |
@y-yagi FYI we can probably do a major version bump soon, so thank you for being patient. |
@y-yagi Can you rebase this? I think we can proceed with Ransack 3.0.0 now and include this PR. |
`#search` is deprecated in v2.1.1 and it scheduled to remove the method in v2.3. activerecord-hackery#975 But the method still exists in v2.3.2. So let's remove the method. If we removed the method, users can remove the patch for `search` (`ActiveRecord::Base.class_eval('remove_method :search'`).
7983167
to
edaf306
Compare
@deivid-rodriguez Done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks!
#search
is deprecated in v2.1.1 and it scheduled to remove the method in v2.3.#975
But the method still exists in v2.3.2. So let's remove the method.
If we removed the method, users can remove the patch for
search
(ActiveRecord::Base.class_eval('remove_method :search'
).