aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/initializers/strong_params.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/strong_params.rb b/config/initializers/strong_params.rb
new file mode 100644
index 0000000..07415fe
--- /dev/null
+++ b/config/initializers/strong_params.rb
@@ -0,0 +1,3 @@
+unless Rails.env.production?
+ ActionController::Parameters.action_on_unpermitted_parameters = :raise
+end