diff options
author | Eileen M. Uchitelle <eileencodes@gmail.com> | 2015-10-05 12:56:41 -0400 |
---|---|---|
committer | Eileen M. Uchitelle <eileencodes@gmail.com> | 2015-10-05 12:56:41 -0400 |
commit | db448209bd70e2e662de8aa5527f30a38fd378a9 (patch) | |
tree | d1ae6890d98aea13cf9f6d8cfa7fd488b949796e /guides | |
parent | 397ee98f540eca7d0a1029c9a7260d9bedd0dd0a (diff) | |
parent | b4f4de050010aef2982c46b1b878a6deb1318429 (diff) | |
download | rails-db448209bd70e2e662de8aa5527f30a38fd378a9.tar.gz rails-db448209bd70e2e662de8aa5527f30a38fd378a9.tar.bz2 rails-db448209bd70e2e662de8aa5527f30a38fd378a9.zip |
Merge pull request #21796 from dv/docs-change-to-parse-nested-query
Change "parse_query" to "parse_nested_query"
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/form_helpers.md | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/guides/source/form_helpers.md b/guides/source/form_helpers.md index 84a8d695cb..34345e68a2 100644 --- a/guides/source/form_helpers.md +++ b/guides/source/form_helpers.md @@ -711,13 +711,6 @@ action for a Person model, `params[:person]` would usually be a hash of all the Fundamentally HTML forms don't know about any sort of structured data, all they generate is name-value pairs, where pairs are just plain strings. The arrays and hashes you see in your application are the result of some parameter naming conventions that Rails uses. -TIP: You may find you can try out examples in this section faster by using the console to directly invoke Rack's parameter parser. For example, - -```ruby -Rack::Utils.parse_query "name=fred&phone=0123456789" -# => {"name"=>"fred", "phone"=>"0123456789"} -``` - ### Basic Structures The two basic structures are arrays and hashes. Hashes mirror the syntax used for accessing the value in `params`. For example, if a form contains: |