Tutorials


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 ...


A Comparison of Ruby Version Managers for macOS - SitePoint
Folks who are new to Ruby are delighted to discover that Ruby comes pre-installed on macOS. They’re often disappointed when a more experienced developer tells them, “Don’t use the Mac system Ruby.” I’ve written elsewhere about the reasons. In shor...

