lib/stationed/generators/plugins/strong_parameters.rb in stationed-0.1.0 vs lib/stationed/generators/plugins/strong_parameters.rb in stationed-0.2.0

- old
+ new

@@ -12,11 +12,11 @@ def finish_template returns uper unless options[:strong_parameters] environment nil, env: :development do <<-RUBY # Raise an ActionController::UnpermittedParameters exception when -# a parameter is not explcitly permitted but is passed anyway. -config.action_controller.action_on_unpermitted_parameters = :raise + # a parameter is not explcitly permitted but is passed anyway. + config.action_controller.action_on_unpermitted_parameters = :raise RUBY end super end end