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

NoMethodError: undefined method `params_filter' for MyPolicy:Class in tests #225

Closed
jclusso opened this issue Jan 17, 2023 · 1 comment
Closed

Comments

@jclusso
Copy link

jclusso commented Jan 17, 2023

Tell us about your environment

Ruby Version: 3.0.4

Framework Version (Rails, whatever): 7.0.3

Action Policy Version: 0.6.3

Reproduction Script:
bug_report_template.rb.zip

What did you do?

Use params_filter in a policy.

What did you expect to happen?

Tests to work.

What actually happened?

NoMethodError: undefined method 'params_filter' for MyPolicy:Class is raised.

@palkan palkan closed this as completed in 32ad568 Jan 18, 2023
@palkan
Copy link
Owner

palkan commented Jan 18, 2023

Thanks for reporting!

Fixed and released in 0.6.4

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

2 participants