Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Literal hash in mass assignment with without_protection = true triggers warning #769
In https://carouselapps.com/2015/11/24/using-brakeman/ I comment that Brakeman in triggering a false positive warning when I have this in the code:
which is a mistake from when I tried to simplify the code for the post. I review Brakeman output and all the warn examples includes the
parameter, which is documented to trigger a warning.
Now, I've introduced this code to my codebase:
and it's triggered as a warning. Is this the desire behavior?