fixed typo in strong parameters example

This commit is contained in:
Yves Senn 2013-03-09 12:21:28 +01:00
parent 1d8b566478
commit 41b9e86f9e
1 changed files with 1 additions and 1 deletions

View File

@ -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: