Colorize the unpermitted params log message #34617
This small change simply colorizes the unpermitted params warning/error log output to make it easier for scanning and identifying issues with strong params. I've been helping out some junior/beginner engineers with rails and more than a few times they've run into issues where they're just overlooking the log message. Not ashamed to say that this still gets me every once in a while, mostly because I feel like I've scanned the log and I don't see the message, so I go looking elsewhere.
It seems like moving the default to
I think this is a step in the right direction! It's silly for newbies (and grizzled vets, for that matter) to fight with this behavior that is a predominantly production security concern while developing an app locally. I've updated my