Outlets let you reference Stimulus controller instances and their controller element from within another Stimulus Controller by using CSS selectors. In this episode, we look at a simple example and then refactoring some older code where we used some workarounds to communicate with other stimulus controllers.
For various reasons, we may decide to move our services off of one platform onto another. This could be due to pricing, uptime or other reasons. In this episode, we look at migrating a Ruby on Rails application and database from Heroku to Fly.
Hotwire is an alternative approach to building modern web applications without using much JavaScript by sending HTML instead of JSON over the wire. With Rails 7, we get Hotwire added in by default. In this episode, we look at some of the features with Hotwire and how to use them.
When rake tasks need to be part of a deployment, you could find yourself in a situation where the rake task was forgotten about or have to go through the process of shelling into the environment to execute the tasks. In this episode, we look at addressing these issues by creating a way to have rake tasks execute automatically.
Ubuntu is an open source software operating system that offers a great development experience and can run on most x86/amd64 systems. In this episode, we set up our Ruby on Rails development environment on Ubuntu 22.04 LTS Jammy Jellyfish.
AWS S3 has been a reliable service over the years and for a long time it was the only option. However, in the past few years, there has been more cloud storage options that have popped up with compatible S3 APIs. These services can sometimes offer better pricing and speeds.
In this episode, we look at tips and tricks from read only attributes, inserting and upserting (update or insert) records, toggling booleans, and single table inheritance.
Learn how to turn your tweets into physical printouts on a label maker via the Cups/PPD API. It's a silly concept, but can have some great real world application with interfacing with printers.
Having a fast and expensive computer to do daily development is a luxury. Sometimes, we may be in a position where we are just getting started with programming and the budget is very small. In this episode we look at a very moderately priced Chromebook and explore how we can make it into a viable development machine.
15 min
About Drifting Ruby Screencasts
From the publisher's feed
Every week you will be treated to a new Drifting Ruby episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one…
technique so you can quickly move on to applying it to your own project. The topics are geared toward the intermediate Rails developer, but beginners and experts will get something out of it as well.