Pundit v2.4.0 is available on ruby gems #828
Burgestrand
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This release contains some development-time comfort: error messages, rspec matcher descriptions, and focus support.
Improve
NotAuthorizedErrormessage to include policy class (#812)Default error message changed from:
To include the policy class:
Improve
NotAuthorizedErrorwhen record is a class (#812)Before:
After:
Allow customizing rspec matcher description (#806)
Before:
In
spec_helper.rb:After:
Add support for filter_run_when_matching :focus with permissions helper (#820)
If your RSpec config has filter_run_when_matching :focus, you may tag the permissions helper like so:
All reactions