Articles by Tag #rails

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

Mastering Cursor Rules: A Developer's Guide to Smart AI Integration

What are Cursor Rules? Cursor Rules are configuration files that define how AI should...

Learn More 108 2Feb 7

Memorização em Ruby

Gostar de desenvolver algoritmos que desempenham bem é uma característica presente na maioria dos...

Learn More 46 4Jul 22 '24

Scaling PostgreSQL Performance with Table Partitioning

Table of contents: The background The investigation The execution The result What we would do...

Learn More 45 6Jun 13

Migrating from Rails to Go and keeping strong conventions

Ruby on Rails has long been a go-to framework for building web applications quickly and elegantly....

Learn More 40 4Apr 22

As Rails developers, why we are excited about PostgreSQL 17

At the time of writing this article, PostgreSQL 17 is nearly out. On September 5th, the first release...

Learn More 27 0Sep 19 '24

Multithreading e corrotinas com Ruby

O mecanismo de multithreading é o que permite ao desenvolvedor executar várias rotinas...

Learn More 25 2Sep 7 '24

Internacionalização com GetText no Rails

Quando pensamos em internacionalização (i18n) em projetos Rails, a abordagem mais comum é utilizar a...

Learn More 25 1May 20

Introducing RubyLLM 1.0: A Beautiful Way to Work with AI

I released RubyLLM 1.0 today. It's a library that makes working with AI in Ruby feel natural,...

Learn More 20 5Mar 11

Binary Decision Tree in Ruby ? Say hello to Composite Pattern 🌳

Decision trees are very common algorithms in the world of development. On paper, they are quite...

Learn More 18 0Jul 1 '24

Persistent Redis Connections in Sidekiq with Async::Redis: A Deep Dive.

TL;DR: In this post I explain how you can have persistent connections to Redis using Async::Redis...

Learn More 18 2Jul 18 '24

A quick guide on database migrations in Ruby on Rails

Ruby on Rails (RoR), often simply referred to as Rails, is a popular web application framework...

Learn More 18 0Jul 4 '24

Rails 8 CI/CD: GitHub Actions & Kamal 2025

In my previous article, we explored deploying Rails 8 applications using Docker and Kamal. ...

Learn More 17 1Jan 20

Solving URL Length Issues in Rails Filters and Pagination

I’m writing this post because every solution I found involved JavaScript— but I refused to go down...

Learn More 17 1Feb 22

[Rails] How We Reduced API Response Rendering Time by 30%

I work on the backend team supporting an SNS with 170K users, built using Ruby on Rails. We use...

Learn More 17 6Feb 2

How (and How NOT) to Name Rails Models Beyond the Obvious

Have you ever encountered a model in a Rails app that initially seemed to have an understandable...

Learn More 17 2Feb 9

Add custom fields to your Rails models with ActiveFields gem

Have you ever wanted to add custom fields to your ActiveRecord models, like in Redmine or Jira,...

Learn More 16 0Sep 11 '24

The easiest guide to generate PDF📜 using Prawn in your Rails project

By the end of this guide, you will be able to generate a PDF on demand using the Prawn gem in your...

Learn More 15 2Jul 25 '24

Email Verification with Sent Codes in Ruby on Rails without Devise

Hello, we know that email verification is present in many applications in our daily lives. It is...

Learn More 15 2Feb 12

Tropical.rb - The Challenges of Organizing a Ruby/Rails Conference [EN]

Versão em Português Introduction My goal with this post is to help other event organizers...

Learn More 15 4Jul 2 '24

Streamlining Rails Controllers with Simple PORO Validators

Disclaimer: This article proposes a straightforward approach to request validation in Rails...

Learn More 15 3Nov 8 '24

Essential Security Best Practices for Ruby on Rails

By Harsh Patel, Cyber security Enthusiast & Senior Ruby on Rails Dev Ruby on Rails has...

Learn More 15 2Feb 25

Avoiding N+1 Queries in Rails: Easy Performance Wins for Beginners

Performance issues in Rails apps can sneak up on you, especially if you're working with ActiveRecord...

Learn More 15 7May 15

Hulk accept postmark challenge!! Hulk write email!

Postmark Challenge: Inbox Innovators. What Hulk built People not respond when Hulk write...

Learn More 14 0May 29

Ruby on Rails: Your Service Layer is a Lie

If you're a Rails developer, you've probably seen (or written) code that looks like this: class...

Learn More 14 4Jan 15

Efficient Chunked File Downloads in Rails: Streaming CSV Exports

In Rails applications, exporting large datasets into CSV files can be challenging, especially when...

Learn More 14 0Oct 7 '24

When Controllers Take on Too Much Responsibility

In software development, following object-oriented programming (OOP) principles is key to building...

Learn More 14 0Jan 12

Beyond Autocomplete: How Cursor AI is Helping Standardize and Write Ruby on Rails Code

PT-BR Context Until recently, aside from code autocomplete capabilities, I had yet to see...

Learn More 14 1Mar 23

Why Regular Ruby Updates Are a Must for Your App

Like any technology, Ruby evolves over time, and keeping your app up-to-date with the latest version...

Learn More 14 0Jan 3

Secure your Stripe Webhooks and protect yourself from Captain Hook

If you handle your app payments with Stripe, there's a strong chance that at some point you end up...

Learn More 13 1Jul 29 '24

Deploying Rails 8 Applications: A Complete Guide with Docker, Kamal, and Cloudflare

Introduction When I first started deploying Rails applications, the process felt...

Learn More 13 0Jan 9