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

Get rid of deprecated *_filter support #6960

Conversation

sergey-alekseev
Copy link
Contributor

*_filter methods were removed in Rails 5.1, see rails/rails@d7be30e.
Should've been done as a part of cdfea4c, so this is just a leftover addressed.

BTW skip_action added in fc87605 never existed in Rails.
skip_filter was renamed to skip_action_callback in Rails 4.2 rails/rails@6c5f43b
and then deprecated in Rails 5.1 rails/rails@6976e1d.

Basically this commit reverts the implementation to 2010, similar to 83c1f22 but more complete and up-to-date.

`*_filter` methods were removed in Rails 5.1, see rails/rails@d7be30e.
Should've been done as a part of cdfea4c, so this is just a leftover addressed.

BTW `skip_action` added in fc87605 never existed in Rails.
`skip_filter` was renamed to `skip_action_callback` in Rails 4.2 rails/rails@6c5f43b
and then deprecated in Rails 5.1 rails/rails@6976e1d.

Basically this commit reverts the implementation to 2010, similar to 83c1f22 but more complete and up-to-date.
@deivid-rodriguez deivid-rodriguez force-pushed the get-rid-of-deprecated-filter-support branch from c7cf84c to 0fa5b7c Compare January 21, 2022 15:39
Copy link
Member

@deivid-rodriguez deivid-rodriguez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member

@javierjulio javierjulio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@javierjulio javierjulio merged commit a9547ef into activeadmin:master Jan 21, 2022
@sergey-alekseev
Copy link
Contributor Author

Glad to see this merged. Thanks @javierjulio

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

Successfully merging this pull request may close these issues.

None yet

3 participants