Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix typo in AC overview guide [ci skip]

  • Loading branch information...
commit 57c516f77587ba032600968da52c1b279e18c8fa 1 parent 3f490ca
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  guides/source/action_controller_overview.md
View
2  guides/source/action_controller_overview.md
@@ -278,7 +278,7 @@ root-key because normally it does not exist when calling `new`:
```ruby
# using `fetch` you can supply a default and use
# the Strong Parameters API from there.
-params.fetch(blog:, {}).permit(:title, :author)
+params.fetch(:blog, {}).permit(:title, :author)
```
`accepts_nested_attributes_for` allows you update and destroy the
Please sign in to comment.
Something went wrong with that request. Please try again.