devise
devise copied to clipboard
Raise on invalid scope
Is there any valid reason for accepting non-existing scopes for Devise::Mapping.find_scope!, Devise::Controllers::SignInOut.sign_out etc.?
I suggest raising when passing a string/symbol representing a non-existing scope.