Read more

Strong params: Raise in development if unpermitted params are found

Thomas Klemm
May 12, 2014Software engineer

Rails 4:

Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

config.action_controller.action_on_unpermitted_parameters enables logging or raising an exception if parameters that are not explicitly permitted are found. Set to :log or :raise to enable. The default value is :log in development and test environments, and false in all other environments.

Rails 3:

If you include the strong_params gem, see the Readme Show archive.org snapshot for handling unpermitted keys.

Posted by Thomas Klemm to makandra dev (2014-05-12 10:46)