diff options
author | Akira Matsuda <ronnie@dio.jp> | 2013-01-07 06:00:10 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-01-07 07:37:23 +0900 |
commit | c8e632bd9fe246aab16496e87184ace20ab3ce27 (patch) | |
tree | 3b873b2e58f1751b8295493535a7d049facccf98 /guides/source/action_controller_overview.md | |
parent | 033248b5fbf5fa10e42b3647ea136bec20227a9a (diff) | |
download | rails-c8e632bd9fe246aab16496e87184ace20ab3ce27.tar.gz rails-c8e632bd9fe246aab16496e87184ace20ab3ce27.tar.bz2 rails-c8e632bd9fe246aab16496e87184ace20ab3ce27.zip |
Namespace HashWithIndifferentAccess
Diffstat (limited to 'guides/source/action_controller_overview.md')
-rw-r--r-- | guides/source/action_controller_overview.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_controller_overview.md b/guides/source/action_controller_overview.md index 46ff9027fd..f06aeccffc 100644 --- a/guides/source/action_controller_overview.md +++ b/guides/source/action_controller_overview.md @@ -114,7 +114,7 @@ To send a hash you include the key name inside the brackets: When this form is submitted, the value of `params[:client]` will be `{"name" => "Acme", "phone" => "12345", "address" => {"postcode" => "12345", "city" => "Carrot City"}}`. Note the nested hash in `params[:client][:address]`. -Note that the `params` hash is actually an instance of `HashWithIndifferentAccess` from Active Support, which acts like a hash that lets you use symbols and strings interchangeably as keys. +Note that the `params` hash is actually an instance of `ActiveSupport::HashWithIndifferentAccess`, which acts like a hash that lets you use symbols and strings interchangeably as keys. ### JSON/XML parameters |