mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix missing to
This commit is contained in:
parent
74c3b7f6f6
commit
e23413bfca
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ root-key because normally it does not exist when calling `new`:
|
|||
params.fetch(:blog, {}).permit(:title, :author)
|
||||
```
|
||||
|
||||
`accepts_nested_attributes_for` allows you update and destroy the
|
||||
`accepts_nested_attributes_for` allows you to update and destroy
|
||||
associated records. This is based on the `id` and `_destroy`
|
||||
parameters:
|
||||
|
||||
|
|
Loading…
Reference in a new issue