diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-03-09 12:21:28 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-03-09 12:21:28 +0100 |
commit | 41b9e86f9eaaaece9b4415c6e7da79dbec44e919 (patch) | |
tree | 2882e57d7e79db284fcb48c4fb5f718c6d234e9a /guides | |
parent | 1d8b56647859fc0c66149642d83b29e3118d2cb0 (diff) | |
download | rails-41b9e86f9eaaaece9b4415c6e7da79dbec44e919.tar.gz rails-41b9e86f9eaaaece9b4415c6e7da79dbec44e919.tar.bz2 rails-41b9e86f9eaaaece9b4415c6e7da79dbec44e919.zip |
fixed typo in strong parameters example
Diffstat (limited to 'guides')
-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 6b55af53cd..7e0a8a43d4 100644 --- a/guides/source/action_controller_overview.md +++ b/guides/source/action_controller_overview.md @@ -290,7 +290,7 @@ parameters: params.require(:author).permit(:name, books_attributes: [:title, :id, :_destroy]) ``` -Hasesh with integer keys are treated differently and you can declare +Hashes with integer keys are treated differently and you can declare the attributes as if they were direct children. You get this kind of parameters when you use `accepts_nested_attributes_for` in combination with a `has_many` association: |