News
Exploring Ruby's Global Constants and Variables - FastRuby.io | Rails Upgrade Service
By default, Ruby defines many constants and global variables that can be used in the code to get information about the current state of the application and the runtime. In this article we’ll go over most of them to understand what they are and wha...
Optimizing Ruby on Rails Serializers: Efficient Hash Unpacking in Serializer - DEV Community
In the world of Ruby on Rails development, serializers play a crucial role in transforming ActiveRecord objects into JSON formats suitable for client-side consumption. However, while invaluable, serializers can sometimes introduce performance bott...
You don’t need services (whatever this word means) | Grainy dinosaurs
Last Sunday, I had the pleasure to attend one of Jason Swett’s online meetups. This time, Jason had put his consultant hat on, and was helping a cheerful developer, Duncan, fix his app. Having played the role of the consultant myself quite often, ...
TestProf III: guided and automated Ruby test profiling
The trend towards better developer experience (and developer tools) is increasing. Engineers crave smarter tools and faster feedback loops to maximize productivity. In the Ruby on Rails community, the latter usually implies long-running CI/CD buil...
The future of Rails test data management: … rests entirely on your shoulders, it turns out
One year ago last week, I wrapped up work on a Ruby gem called test_data that aims to be a more robust alternative to Rails’ rather-limited database fixtures. It also stands in sharp contrast to factory_bot, the design of which has led countless d...