Tutorials
“Gilded Rose” refactoring kata in Ruby — as if it is 2024
Recently, I didn’t have time or resource for serious writing. I had plans for several long articles for the summer that gone, but unfortunately not many have came of that. But last night I have stumbled upon famous (so it seems, though I have neve...
Avoiding environment conflicts with Kamal and Dotenv
We often rely on an .env file in development when using Dotenv. This is a direct opposite for Kamal that also loads the same .env file, but for deployment. As an example we might rely on RAILS_MASTER_KEY in an .env file which will differ from deve...
Avoid this Bug with Numeric Environment Variables in Ruby · Daniela Baron
This post will explain how to avoid a common pitfall with numeric environment variable handling in Ruby.I recently encountered an error when running some code that calls a third party API to fetch data. This code uses the Quickbooks Ruby gem to fe...
JRuby on CRaC Part 1: Let's Get CRaCking! – Charles Oliver Nutter
The Hardest Problem in JRubyJRuby is the most successful and widely-deployed alternative Ruby implementation, but is frequently overlooked as an option due to several misconceptions:“JRuby won’t work for my app because we use C extensions”Most pop...
Scaling Rails and Postgres to Millions of Users at Microsoft: Lessons and Takeaways – StepChange
Do you have a Rails app built on PostgreSQL and need to scale it to millions of users? In this interview, I speak with Andrew Atkinson, one of StepChange's expert consultants, who brings deep expertise in optimizing Rails applications for performa...