We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e563d28 commit c02d9e5Copy full SHA for c02d9e5
guides/source/getting_started.md
@@ -1881,7 +1881,7 @@ active_record_migrations.html).
1881
We also have to permit the `:status` key as part of the strong parameter, in `app/controllers/articles_controller.rb`:
1882
1883
```ruby
1884
-private
+ private
1885
def article_params
1886
params.require(:comment).permit(:commenter, :body, :status)
1887
end
@@ -1890,7 +1890,7 @@ private
1890
and in `app/controllers/comments_controller.rb`:
1891
1892
1893
1894
def comment_params
1895
1896
0 commit comments