From 5223bad17c9bb103fa6f558e936cc1303ecee4bf Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Sat, 14 Jun 2014 16:18:22 +0200 Subject: docs, remove getting started guide sample application. [ci skip] This application always gets out of sync and doesn't add much value. Closes #15721 /cc @rafaelfranca --- .../getting_started/config/initializers/wrap_parameters.rb | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 guides/code/getting_started/config/initializers/wrap_parameters.rb (limited to 'guides/code/getting_started/config/initializers/wrap_parameters.rb') diff --git a/guides/code/getting_started/config/initializers/wrap_parameters.rb b/guides/code/getting_started/config/initializers/wrap_parameters.rb deleted file mode 100644 index 33725e95fd..0000000000 --- a/guides/code/getting_started/config/initializers/wrap_parameters.rb +++ /dev/null @@ -1,14 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# This file contains settings for ActionController::ParamsWrapper which -# is enabled by default. - -# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. -ActiveSupport.on_load(:action_controller) do - wrap_parameters format: [:json] if respond_to?(:wrap_parameters) -end - -# To enable root element in JSON for ActiveRecord objects. -# ActiveSupport.on_load(:active_record) do -# self.include_root_in_json = true -# end -- cgit v1.2.3