We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
token = nil # or token = '' request.headers['Authorization'] = "Bearer #{token}" request.get
authenticate_with_http_token
authenticate_with_http_token do |token, _options| # end
return nil. Under 6.1.1, it did.
NoMethodError: undefined method `start_with?' for nil:NilClass
The cause is probably this commit
Rails version: 6.1.1 Ruby version: 2.7.2p137
The text was updated successfully, but these errors were encountered:
I've created a pull request. #41280
Sorry, something went wrong.
Merge pull request #41280 from kentakag/fix-raw-params-method-to-not-…
e8d7181
…raise-an-exception Fix raw params method to not raise an exception Fixes #41279.
42ad010
Successfully merging a pull request may close this issue.
Steps to reproduce
authenticate_with_http_token
to check the token.Expected behavior
return nil.
Under 6.1.1, it did.
Actual behavior
The cause is probably this commit
System configuration
Rails version:
6.1.1
Ruby version:
2.7.2p137
The text was updated successfully, but these errors were encountered: