Spotting flaky tests
Sharing some examples of flaky tests from my experience.
Exception handling with Sidekiq
Make Sidekiq play nicely with errors and error-tracking tools.
PostgreSQL generated columns in Rails
Rails 7 added support for PostgreSQL generated columns.
Complete testing of sidekiq jobs
In this post we will see how to test async sidekiq jobs end-to-end.
Currying Reducers
Yesterday I was reading curried (partial) functions in Scala and I remembered the first time I used them in an actual production application.
Refactoring Filters
Recently I was working on refactoring some unwieldy code for filtering data. Here's a short story of how it went 🙂.
Redis connection pool in Rails
Rails is multi-threaded, but can your redis connection handle it?
Unit testing rack middleware
Underneath (almost) all Ruby web application lies the Rack architecture. With minimal interface, it is simple to write a middleware. Let's see how to test it.
Functor Composition
Composition is the beauty of functional programming & haskell with it's typeclasses excels at this.
Let's see what Functors
are and how they compose.
Serializers Everywhere
Manage multiple versions of JSON serializers in a Rails application with ease.