Tutorials
Running Rails on the Cloud Run environment | Ruby | Google Cloud
Learn how to deploy a sample Rails application to Cloud Run and how to integrate managed databases, object storage, encrypted secrets, and build pipelines with serverless compute.Deploying Rails applications involves integrating multiple services ...
Rails 7 adds change tracking methods for belongs_to associations | Saeloun Blog
Sometimes minor updates add the most joy to users! A recent Rails update introduced the ability to monitor for changes in belongs_to associations. This brings in a welcome change for developers who like to conform to “the Rails way”.Change trackin...
Quick way to run a Ruby script in Kubernetes · Kir Shatrov
Sometimes I find myself in need of running a Ruby script on a live Kubernetes cluster. In today’s example, it had to do with generating load on MySQL, which was tricker to do from my laptop. The script had to run close to the workload in the clust...
The Gnar Blog - Validate CSV Input With ActiveModel::Validations
We're maintaining a system that tracks information about books, including their publication dates. On occasion, publishers will send us CSVs with updated publication dates, and we need to update our Rails application to have those dates.We want a ...
6 Complex Ruby Transformations made simple with Dry::Transformer
I often work with hashes in plain ruby, especially when I prepare standalone scripts or gem packages, and there were plenty of situations where I needed to do some simple, or more complex data transformations to achieve the expected output.In the ...