Writing elegant custom matchers in RSpec
RSpec brings Ruby's readability to testing. Custom matchers take it to the next level 🚀.
Ruby | Javascript | Haskell | λ
RSpec brings Ruby's readability to testing. Custom matchers take it to the next level 🚀.
Some good practices when building a robust cache for backend web applications.
Walkthrough on a use-case where Redis pipelines saved the day.
Sharing some examples of flaky tests from my experience.
Make Sidekiq play nicely with errors and error-tracking tools.
Rails 7 added support for PostgreSQL generated columns.
In this post we will see how to test async sidekiq jobs end-to-end.
Yesterday I was reading curried (partial) functions in Scala and I remembered the first time I used them in an actual production application.
Recently I was working on refactoring some unwieldy code for filtering data. Here's a short story of how it went 🙂.
Rails is multi-threaded, but can your redis connection handle it?
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.
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.
Manage multiple versions of JSON serializers in a Rails application with ease.