Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

NoMethodError rescue is too heavy-handed #2

Open
gsbucks opened this issue Dec 6, 2013 · 0 comments
Open

NoMethodError rescue is too heavy-handed #2

gsbucks opened this issue Dec 6, 2013 · 0 comments

Comments

@gsbucks
Copy link
Contributor

gsbucks commented Dec 6, 2013

The rescue which is in place to throw a better message about defining the current_user_roles method will catch any NoMethodError thrown during the controller action. Leads to misleading errors and be specific to the method we care about.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant