Articles tagged with Legacy

Stop using DateTime in 2026 (unless you work for UNESCO)

DateTime has been considered deprecated in Ruby since 3.0. It's 2026. Why are people still using it?

Rewrite with Confidence: Validating Business Rules Through Isolated Testing

A few months back, our team at Arkency faced a challenge that many Rails developers might recognize. We needed to implement a new flow at Lemonade that would eventually replace a legacy process — but with three major constraints that couldn't be compromised: user experience, cost efficiency, and avoiding technical debt.

The Joy of a Single-Purpose Class: From String Mutation to Message Composition

ruby warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)

Installing Precompiled Native Gems with bundle lock --add-platform

There's a great chance that your Ruby app occasionally explodes during bundle install because of native extensions. There's an even greater chance that it happens with nokogiri, ffi or some other notorious gem with C extensions. The problem gets worse when you're working across different operating systems or upgrading Ruby versions. Let's fix this once and for all.

Rails: when "nothing changed" is the best feature

Recently, I had a chat with a friend of mine, who used to do Rails back in the days. For the last ~10 years he’s focused on mobile development. I was curious what are his observations and asked if he’s happy with his decision or maybe he actually misses web development.

Use ActiveAdmin like a boss

ActiveAdmin is widely used administration framework in Rails applications. This post explains how to hook more sophiscicated domain logic into it.