Posts about #ruby

sidekiq-dry

I published a new gem, sidekiq-dry aiming to tackle a variety of common frustrations when it comes to Sidekiq jobs and their arguments.

Read more

Knowledge Mapping

What do I know? What do we know?

How do we know what we know and what is there that we should know?

Read more

The 10-minute Rails Pub/Sub

This time we’ll experiment with a quick way to architecture a Rails application to use Pub/Sub instead of model callbacks. What’s wrong with callbacks Rails active record models easily become bloated, that’s where most of the business logic tends to live after all. One of the most common sources of technical debt in Rails apps is callbacks. Models become god-objects with dependencies to other models, mailers and even 3rd party services. … Read more