aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/getting_started.md
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2013-01-07 06:00:10 +0900
committerAkira Matsuda <ronnie@dio.jp>2013-01-07 07:37:23 +0900
commitc8e632bd9fe246aab16496e87184ace20ab3ce27 (patch)
tree3b873b2e58f1751b8295493535a7d049facccf98 /guides/source/getting_started.md
parent033248b5fbf5fa10e42b3647ea136bec20227a9a (diff)
downloadrails-c8e632bd9fe246aab16496e87184ace20ab3ce27.tar.gz
rails-c8e632bd9fe246aab16496e87184ace20ab3ce27.tar.bz2
rails-c8e632bd9fe246aab16496e87184ace20ab3ce27.zip
Namespace HashWithIndifferentAccess
Diffstat (limited to 'guides/source/getting_started.md')
-rw-r--r--guides/source/getting_started.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index aa841d5867..0542cbf514 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -417,7 +417,7 @@ def create
end
```
-The `render` method here is taking a very simple hash with a key of `text` and value of `params[:post].inspect`. The `params` method is the object which represents the parameters (or fields) coming in from the form. The `params` method returns a `HashWithIndifferentAccess` object, which allows you to access the keys of the hash using either strings or symbols. In this situation, the only parameters that matter are the ones from the form.
+The `render` method here is taking a very simple hash with a key of `text` and value of `params[:post].inspect`. The `params` method is the object which represents the parameters (or fields) coming in from the form. The `params` method returns an `ActiveSupport::HashWithIndifferentAccess` object, which allows you to access the keys of the hash using either strings or symbols. In this situation, the only parameters that matter are the ones from the form.
If you re-submit the form one more time you'll now no longer get the missing template error. Instead, you'll see something that looks like the following: