Uploaded January 2022 | Updated September 2026, 2 weeks ago
This is the 20th video in the Getting Started with Rails 7 series. In this video Mike continues where he left off in video 19. He comes up with an admittedly hacky solution to get the existing system tests passing, by changing the articles show action to require basic auth and visiting the page twice.
After the tests are passing, he finishes up the guide, reviews The Ruby Toolbox, takes a quick look at the other guides available and talks about what's next.
This video covers:
00:00:10 Introduction
00:01:16 Continue troubleshooting basic auth browser tests
00:06:12 Experiment with actual application in Chrome
00:06:54 Continue troubleshooting browser tests*
00:32:07 All tests passing, but change requirements to require basic auth on articles show (not ideal). Review changes.
00:36:18 Final thoughts on the security section, and why not to use this solution on a real app.
00:39:42 Quick overview of the The Ruby Toolbox for evaluating gems you might want to include in your project
00:41:15 What's next? Quick overview of the other Rails guides available
00:43:34 The guide is done, but there are still a few videos left in the series
00:44:03 Commit and push the code
NOTE: As pointed out by Rails From Zero (youtube.com/channel/UCBIvferzfG3glF2iOz-oN9w) in the previous video YouTube comments, adding the debugger command to the in the test would have allowed us to pause the code and examine the current state (both in IRB and in the JavaScript console). This would have made debugging more efficient.
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 20th video in the Getting Started with Rails 7 series. In this video Mike continues where he left off in video 19. He comes up with an admittedly hacky solution to get the existing system tests passing, by changing the articles show action to require basic auth and visiting the page twice.
After the tests are passing, he finishes up the guide, reviews The Ruby Toolbox, takes a quick look at the other guides available and talks about what's next.
This video covers:
00:00:10 Introduction
00:01:16 Continue troubleshooting basic auth browser tests
00:06:12 Experiment with actual application in Chrome
00:06:54 Continue troubleshooting browser tests*
00:32:07 All tests passing, but change requirements to require basic auth on articles show (not ideal). Review changes.
00:36:18 Final thoughts on the security section, and why not to use this solution on a real app.
00:39:42 Quick overview of the The Ruby Toolbox for evaluating gems you might want to include in your project
00:41:15 What's next? Quick overview of the other Rails guides available
00:43:34 The guide is done, but there are still a few videos left in the series
00:44:03 Commit and push the code
NOTE: As pointed out by Rails From Zero (youtube.com/channel/UCBIvferzfG3glF2iOz-oN9w) in the previous video YouTube comments, adding the debugger command to the in the test would have allowed us to pause the code and examine the current state (both in IRB and in the JavaScript console). This would have made debugging more efficient.
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.










