Tutorials


Re-Use SSH Config Inside Docker Containers with WSL2
Docker and WSL have been getting more and more chummy lately. The Docker Desktop WSL2 backend integrates Docker containers with the “official” integrated Windows/Linux ecosystem (boy that still feels a little weird to write…) and gains performance...

Squash N 1 queries early with n_plus_one_control test matchers for Ruby and Rails
Discover the performance testing alternative to detecting N 1 query problem in your Rails and pure Ruby applications.Every backend Ruby developer who works with databases through object-relational mappers like Active Record or rom knows the drill:...


Ruby on Rails(6 ) Uploading and Cropping images with Shrine, and Cropper.js
I was going around the internet to find a good guide to integrate shrine, and cropper.js to upload and crop the images. All those hours went into vain. So I have decided to give a quick overview on how to upload images with shrine, and crop them u...

What's swap memory, and when should you be concerned?
Memory is important resource in any application. All programs have to access data in various places, usually in many different places.This matters for performance because where we store data determines how long it takes to access it.Swap memory is...

Full page caching in Rails part 2 - memcached and middleware
In this follow up to a previous post, I'll show how to implement full page caching in a Rails app using memcached instead of Redis, and a middleware instead of Nginx to remove some dependencies and simplify the...In a previous post, I showed how t...

How to integrate HTML / Bootstrap theme into Rails 6
Say you just bought a Bootstrap theme (or any HTML template) and want to integrate it to Rails 6, where do you start? 🤔This tutorial aims to guide the integration process, outlining a few main steps, the whole integration process might take a few ...

How We Estimate the Size of a Rails Application -
When inheriting a project, it is useful to understand how big and complex theapplication really is. So, what is a good way to understand whether a ...When inheriting a project, it is useful to understand how big and complex the application really ...