Closed TheDevJoao closed 11 months ago
Thank you for the PR.
I don't understand why we would want to go from a module instance, to a string, and then back to the original module.
I'm not sure the issue this refers to really is an issue, see my comment: https://github.com/varvet/pundit/issues/744#issuecomment-1638106159
Closing for now, waiting to see how #744 unfolds.
This PR resolves issue #744
What did I do?
pundit_model
function to return the correct class name when receiving a module as a parameter.pundit_spec.rb
file as it was missing tests for thepundit_model
function.To-do