Blog

Browse through our blog page filled with updated information and the latest tips to help you achieve your goals.


Design Rails JSON API with performance in mind

Design Rails JSON API with performance in mind

Caching can reduce load time and increase the throughput of your API endpoints without...
How to avoid N+1 query using SQL views (materialized) in Rails application

How to avoid N+1 query using SQL views (materialized) in Rails application

Consider the way to reduce the queries when calculating the average values and find the...
5 Rails Virtual Attribute Use Cases - Skip the Column

5 Rails Virtual Attribute Use Cases - Skip the Column

Use Rails virtual attributes to handle data without adding a database column. Five practical patterns for formatting, confirmation fields, and more.
Where to read ENV variables in Ruby on Rails application

Where to read ENV variables in Ruby on Rails application

The ENV variables should not be used outside the config folder. This rule will allow the...
Collecting JavaScript code coverage with Capybara in Ruby on Rails application

Collecting JavaScript code coverage with Capybara in Ruby on Rails application

Having JavaScript code covered by Capybara system tests, can we utilize them for the code...
New asserts for testing stopped streams after Ruby on Rails 7.1.

New asserts for testing stopped streams after Ruby on Rails 7.1.

Previously, developers encountered a significant challenge verifying if streams ceased operation...
More control over enum in Rails 7.1

More control over enum in Rails 7.1

ActiveRecord::Enum in Rails have long been a convenient tool for representing a set of symbolic...
Upgrading PostgreSQL on Heroku: A Step-by-Step Guide

Upgrading PostgreSQL on Heroku: A Step-by-Step Guide

Are you looking to upgrade your PostgreSQL database on Heroku? Whether it's for performance...
Custom ordering without custom SQL with Ruby on Rails 7

Custom ordering without custom SQL with Ruby on Rails 7

The problem It's a common case for Rails applications to have enum fields on a model like: class...
Placeholder Image

How we configure Simplecov for our Ruby on Rails projects.

Here's a step-by-step guide to setting up simplecov with explanations of what each part of the code...