-
Notifications
You must be signed in to change notification settings - Fork 720
New issue
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
ruby 3.1: undefined method `original_line' for nil:NilClass unless value.original_line #1700
Comments
Hi @jorgenschaefer - yes, if you run with |
Hah! That helped. Ruby 3.1 allows a shorthand syntax for passing key-value-pairs with the same name, e.g. Example code: def new
account = Customer.find(params.fetch(:customer_id)).accounts.build
render 'new', locals: { account: }
end |
Really helpful, thanks! |
We just upgraded to brakeman 5.2.2 and ruby 3.1.1. The command
bundle exec brakeman
results in the following output:Is there any way I can find out where this error is occurring, or provide more detail on why this is failing? :-)
The text was updated successfully, but these errors were encountered: