Tag Archives: ruby on rails

SaturdayMP Show #33: Upgrading Website from Rails 6.1 to 7.0 Part 5 (Removing Webpack CI Fixes)

In this episode I fix issues in continuous integration (CI) pipeline and other DevOps caused by removing Webpack. Longer episode as I encounter a issue with Dart Sass for Rails and I think the CI builds the Docker containers for … Continue reading

Posted in Saturday MP Show, Software Development | Tagged , , , , , , | Comments Off on SaturdayMP Show #33: Upgrading Website from Rails 6.1 to 7.0 Part 5 (Removing Webpack CI Fixes)

SaturdayMP Show #32: Upgrading Website from Rails 6.1 to 7.0 Part 4 (Removing Webpack)

Happy Valentines Day! In this episode I replace Webpack with Import Maps and it gees well, at least in the development environment. I’ll likely run into issues when I try a staging deploy and need to make changes in the … Continue reading

Posted in Saturday MP Show, Software Development | Tagged , , , | Comments Off on SaturdayMP Show #32: Upgrading Website from Rails 6.1 to 7.0 Part 4 (Removing Webpack)

SaturdayMP Show #30: Upgrading Website from Rails 6.1 to 7.0 Part 3 (Testing & Merging)

In this episode I do some more testing, fix issues found during the CI, and merge the branch to main which kicks off a production deployment of the SaturdayMP site. Should have been a shorter video but I created a … Continue reading

Posted in Saturday MP Show, Software Development | Tagged , , , | Comments Off on SaturdayMP Show #30: Upgrading Website from Rails 6.1 to 7.0 Part 3 (Testing & Merging)

SaturdayMP Show #29: Upgrading Website from Rails 6.1 to 7.0 Part 2: Upgrading Rails

In this episode I do the actual upgrade from Rails 6.1 to 7.0 for the SaturdayMP site. The upgrade actually goes pretty smooth aside from an issue setting up the system tests. Does not include removing Webpacker which I will … Continue reading

Posted in Code Examples, Saturday MP Show, Software Development | Tagged , | Comments Off on SaturdayMP Show #29: Upgrading Website from Rails 6.1 to 7.0 Part 2: Upgrading Rails

SaturdayMP Show #28: Upgrading Website from Rails 6.1 to 7.0 Part 1 – Preparation

In this episode I start the process of upgrading the SaturdayMP website from Rails 6.1 to 7.0. This video covers getting website ready for the upgrade. Found this video useful? Then help others find it by liking, subscribing, sharing, and/or … Continue reading

Posted in Saturday MP Show, Software Development | Tagged , | Comments Off on SaturdayMP Show #28: Upgrading Website from Rails 6.1 to 7.0 Part 1 – Preparation

SaturdayMP Show #23: Adding Basic Auth to NGINX Passenger Docker (Part 3)

In this stunning conclusion to the 3 part series I finally get HTTP Basic Authentication working. Including merging my changes into the main branch in GitLab and making sure it works in staging and production in Render. The video is … Continue reading

Posted in Saturday MP Show, Security, Software Development | Tagged , , , , , , , | Comments Off on SaturdayMP Show #23: Adding Basic Auth to NGINX Passenger Docker (Part 3)

SaturdayMP Show #22: Adding Basic Auth to NGINX Passenger Docker (Part 2)

In this episode I get the Basic Authentication NGINX configuration working using the envsubst tool to replace environment variables in the config file. Ran out of time to test the fix in actual staging. That will hopefully be done in … Continue reading

Posted in Code Examples, Saturday MP Show, Software Development | Tagged , , , , , | Comments Off on SaturdayMP Show #22: Adding Basic Auth to NGINX Passenger Docker (Part 2)

SaturdayMP Show #21: Adding Basic Auth to NGINX Passenger Docker (Part 1)

In this episode I explain and then start to add HTTP Basic Authentication to the Saturday MP website which is a Ruby on Rails application hosted on a Passenger Docker image. As usual I ran into some trouble and at … Continue reading

Posted in Saturday MP Show, Software Development | Tagged , , , , , | Comments Off on SaturdayMP Show #21: Adding Basic Auth to NGINX Passenger Docker (Part 1)

Saturday MP Show #10: Finally get the System Test Working for the Standard Ruby Linter ToDo Bug

I get my system test working at the start of video but the problem is it works so well that it still passes even after I re-introduce the bug when it should have failed. Crap! That means my test is … Continue reading

Posted in Code Examples, Saturday MP Show, Software Development | Tagged , , , , | Comments Off on Saturday MP Show #10: Finally get the System Test Working for the Standard Ruby Linter ToDo Bug

Saturday MP Show #9: Add 1.9 (e.g. almost 2) System Tests for the Standard Ruby Linter ToDo Bug

I get one system test working for generating the todo file and almost get the second test working. The second test that actually tests the bug we fixed. Went down a bit of rabbit hole trying to get the optimal … Continue reading

Posted in Code Examples, Saturday MP Show, Software Development | Tagged , , , , , | Comments Off on Saturday MP Show #9: Add 1.9 (e.g. almost 2) System Tests for the Standard Ruby Linter ToDo Bug