Permalink
Browse files

Fix typo in AC overview guide [ci skip]

  • Loading branch information...
carlosantoniodasilva committed Mar 5, 2013
1 parent 3f490ca commit 57c516f77587ba032600968da52c1b279e18c8fa
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 57c516f

Please sign in to comment.