diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index 525685ce61..e6ad2fd09d 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -1885,7 +1885,7 @@ We also have to permit the `:status` key as part of the strong parameter, in `ap ```ruby private def article_params - params.require(:comment).permit(:commenter, :body, :status) + params.require(:article).permit(:title, :body, :status) end ```