Codecast: Getting Started with Rails 7 21: Upgrades, Bug Fixes, and Tweaks

Published: 19 January 2022
on channel: Stateless Code
84
3

This is the 21st video in the Getting Started with Rails 7 series. In this video Mike upgrades to Ruby 3.1.0 and Rails 7.0.1.

After the upgrade, he demonstrates the debugger command, makes some changes to get the browser tests to work with basic authentication without changing the requirements, converts the link_to helper to a button_to helper for the destroy action of the Posts parallel scaffold, and fixes a bug in the VisibleTest helper module.

This video covers:
00:00:10 Introduction and take a look at the updates to the Getting Started guide
00:03:33 Install Ruby 3.1.0 with RVM and make it the default
00:05:13 Update Ruby version in the blog app and run a bundle update
00:06:33 Review changes, run tests to validate nothing broken, and commit
00:08:10 Explore and demonstrate the debugger command
00:16:03 Modify articles controller and tests to no longer authenticate with show. Visit edit_article_path to establish authentication instead of article_path
00:18:42 Fix lack of assertion in VisibleTestHelper module
00:19:49 Convert link_to destroy back to button_to for Post scaffold
00:25:25 Review, commit, and push code

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.


Watch video Codecast: Getting Started with Rails 7 21: Upgrades, Bug Fixes, and Tweaks online without registration, duration hours minute second in high quality. This video was added by user Stateless Code 19 January 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 8 once and liked it people.