Uploaded January 2022 | Updated November 2026, 3 hours ago
This is the 13th video in the Getting Started with Rails 7 series. In this video Mike generates the CommentsController and adds a nested resource form to the articles show view. Then he updates the app with functionality for creating and displaying comments.
This video covers:
00:00:10 Introduction
00:02:21 Generate the CommentsController and review
00:05:37 Add form to create comment to articles show view after writing failing assertions
00:10:36 Write failing test for comments create controller action
00:15:17 Incrementally add comments create action to get test to pass
00:19:23 Demonstrate working comments create in UI, but not showing the comments yet.
00:20:20 Test-driven addition of displaying comments for an article
00:25:10 Review, commit, push
This video is CC0 - No rights reserved. (YouTube doesn't allow this option when publishing.) All code is released under the UNLICENSE. Stateless Code denies the concept of "intellectual property". Copying is not stealing.
This is the 13th video in the Getting Started with Rails 7 series. In this video Mike generates the CommentsController and adds a nested resource form to the articles show view. Then he updates the app with functionality for creating and displaying comments.
This video covers:
00:00:10 Introduction
00:02:21 Generate the CommentsController and review
00:05:37 Add form to create comment to articles show view after writing failing assertions
00:10:36 Write failing test for comments create controller action
00:15:17 Incrementally add comments create action to get test to pass
00:19:23 Demonstrate working comments create in UI, but not showing the comments yet.
00:20:20 Test-driven addition of displaying comments for an article
00:25:10 Review, commit, push
This video is CC0 - No rights reserved. (YouTube doesn't allow this option when publishing.) All code is released under the UNLICENSE. Stateless Code denies the concept of "intellectual property". Copying is not stealing.