From b4f4de050010aef2982c46b1b878a6deb1318429 Mon Sep 17 00:00:00 2001 From: David Verhasselt Date: Mon, 28 Sep 2015 13:56:28 +0300 Subject: Remove TIP on parse_query [ci skip] --- guides/source/form_helpers.md | 7 ------- 1 file changed, 7 deletions(-) (limited to 'guides') 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: -- cgit v1.2.3