Back to Blog

Rails 6 shows unpermitted params in logs in color

on March 18, 2019

Strong parameters allow us to control the user input in our Rails app. In development environment the unpermitted parameters are shown in the log as follows.

Unpermitted params before Rails 6

It is easy to miss this message in the flurry of other messages.

Rails 6 has added a change to show these params in red color for better visibility.

Unpermitted params after Rails 6


You might also like

If you liked this blog post, check out similar ones from BigBinary