Skip to main content

ruby

2023

RSpec. Beware of expensive calls
·563 words·3 mins
ruby rspec test
Rspec is an excellent testing framework for Ruby. It allows you to use a DSL to test your ruby code. Generally, on a test, we will need some configuration that might have to run before or after the test.

2020

Writing a Ractor Base Job Scheduler
·878 words·5 mins
ruby concurrency
I was reading a fantastic article from my colleague Kir, and I could help myself to feel nerd snipped by: For those curious to try Ractor, I’d suggest to try implementing other things that benefit from parallel execution, for instance a background job processor.

2019

When open source has less benefits
·685 words·4 mins
ruby oss
Here at Shopify, I work as a Production Engineer on the Jobs team. Our mission is to maintain and improve the background job infrastructure for Shopify Core, one of the world’s most significant Ruby on Rails applications.
Migrating millions of Redis keys without downtime
·968 words·5 mins
ruby redis
Last year in September I joined the Job Patterns team at Shopify. The mission of the team is to provide a stable platform so that developers can write their background jobs to power one of the biggest e-commerce platforms in the world.

2018

Grpc Tutorial with ruby
·1393 words·7 mins
ruby grpc
So the other day I found an exciting project Anycable that allow using custom WebSocket server within your ruby application. I immediately got hooked up, and I started reading about it, and the first thing that I never heard of it was Grpc.

2017

Functional programming aspects of the Ruby language
·1056 words·5 mins
ruby functional programming
Revised by Andy Holland Lately, there has been a significant change in the industry towards functional programming; new languages have appeared: Elixir, Scala, and Elm. With all this new hype, I decided to try some of them, and they are cool, but whether I like it at work, I mostly use ruby.
Dry-web-roda for Rails Developers Part II (Persistence)
·897 words·5 mins
ruby dry-rb ORM rom-rb
Following my previous post, Dry-web-roda part 1, I have decided to create my small website to keep track of all the things I learn throughout the day. Yes, I know, another Today I Learned Website 😓 - til_web, but this time I started with the persistence layer, and I wanted to share my experience with you.
Dry-web-roda for Rails Developers Part I
·730 words·4 mins
ruby dry-rb
Revised by Piotr Solnica and Andy Holland Lately, I have been playing around and contributing to the extraordinary ecosystem of dry-rb. The community is absolutely fantastic, supportive, and eager to welcome many new contributors.

2016

My Setup with rvm, gemsets and bundler
·564 words·3 mins
ruby rvm
It took me some time to figure out how to correctly set up every project I worked on, not that I work on tons of projects, but now that I have a better understanding of how it makes more sense.
Testing Comamnd-Line Applications with Aruba
·1035 words·5 mins
ruby cli test
In the last couple of weeks, I have been working on a project of my own. I always love Command Line Tools; I don’t know what they have, but using them makes me feel more like a Hacker or someone that knows what he is doing.