rails/rails — pull request #8752 by thomasfedb (2013-01-04 16:11:23+00:00)
Title: Exception on unexpected params when enabled.

Added the ability for developers to enable reporting of unexpected parameters.

To enable add config.raise_on_unexpected_params = true to whatever environment file required.

Changes first proposed here: https://github.com/rails/strong_parameters/pull/75