Skip to content
This repository

Minor edit in the params wrapper api docs #2604

merged 1 commit into from over 2 years ago

2 participants

Vijay Dev Santiago Pastorino
Vijay Dev

No description provided.

Santiago Pastorino spastorino merged commit 77dfcae into from August 20, 2011
Santiago Pastorino spastorino closed this August 20, 2011
Aaron Patterson tenderlove referenced this pull request from a commit August 22, 2011
Aaron Patterson Merge branch '3-1-stable' into 3-1-0
* 3-1-stable: (21 commits)
  Added a test to check for correct behaviour with no options in add_index command recorder
  Using .try to test for the existence of a method option in a nil-resistent manner. Inlined the determination of the options hash for reversing using a ternary operator. Shortens the method in a way that keeps the code neat
  Neatened up the invert_add_index method as per suggeston
  Simple fix for correctly inverting an add_index migration when a name has been provided
  Merge pull request #2524 from JonathonMA/fix_ecd37084b28a05f05251
  Fix Sprockets rewrite_asset_path
  Merge pull request #2620 from cesario/3-1-0
  Fix sprockets warnings
  Use typewriter styling on url_for in documentation
  Merge pull request #2609 from guilleiguaran/bump-sprockets-beta14
  remove extra space since comment_if already returns the space. (cherry picked from commit 5e73a2f)
  Merge pull request #2596 from dharmatech/patch-1
  Merge pull request #2595 from smartinez87/assets-guide
  Merge pull request #2597 from dharmatech/patch-2
  Merge pull request #2604 from vijaydev/params_wrapper_docs
  Merge pull request #2602 from ernie/fix_predicate_builder_primary_key_assumption
  Merge pull request #2603 from vijaydev/guides
  Merge pull request #2581 from guilleiguaran/debug-assets-in-dev
  Revert "Deprecate the use of non-public methods by Module#delegate"
  mailer guide: fixes indentation, and use fixed width fonts wherever necessary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Aug 21, 2011
Vijay Dev params wrapper docs correction 7da70a4
This page is out of date. Refresh to see the latest.
7  actionpack/lib/action_controller/metal/params_wrapper.rb
@@ -9,10 +9,9 @@ module ActionController
9 9
   # Wraps parameters hash into nested hash. This will allow client to submit
10 10
   # POST request without having to specify a root element in it.
11 11
-  # By default this functionality won't be enabled. You can enable
-  # it globally by setting +ActionController::Base.wrap_parameters+:
-  #
-  #     ActionController::Base.wrap_parameters = [:json]
+  # This functionality is enabled in +config/initializers/wrap_parameters.rb+
+  # and can be customized. If you are upgrading to Rails 3.1, this file will
+  # need to be created for the functionality to be enabled.
16 15
17 16
   # You could also turn it on per controller by setting the format array to
18 17
   # non-empty array:

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.