Articles Ruby on Rails
Contenus techniques écrits par Devintech, sans remplissage éditorial.
Kafka or Sidekiq? Choosing the Right Async Tool for Your Ruby on Rails Backend
A practical decision path for when a Rails app genuinely needs a message broker, and when Sidekiq is doing everything you actually need.
4 min de lecture
Zero-Downtime Database Migrations in Rails: A Practical Playbook
Why the migrations that look small are the ones that break production, and the sequence we follow to change a schema without locking a busy table.
5 min de lecture
Events vs Commands: Untangling Event-Driven Architecture in a Rails System
Two very different contracts hide behind the same "event-driven" label. Getting the naming right decides how the rest of the architecture behaves.
5 min de lecture
A Practical Security Checklist for Ruby on Rails Applications
The handful of repeat offenders behind most Rails security incidents, in the order we check for them during an audit.
5 min de lecture
Designing a Rails Service Architecture Around SEPA and Payment Flows
Payments change the design questions a Rails codebase has to answer. Notes on isolating money movement, ledgers, and modeling SEPA as the asynchronous process it is.
5 min de lecture
What Makes a Good Pull Request in a Ruby on Rails Codebase
Review quality has less to do with how carefully a reviewer reads and more to do with how the pull request was put together in the first place.
4 min de lecture
The Outbox Pattern in Rails: How to Publish Events Without Losing Data
The gap between saving a record and publishing the message that announces it is where events quietly disappear. Here is how to close it.
4 min de lecture
Managing Sidekiq in Production: Scheduled Jobs, Debugging and Cleanup
Sidekiq is easy to set up and easy to lose track of two years and forty job classes later. Practices that keep it manageable long term.
4 min de lecture
Database Transactions in Rails: What ACID Really Means for Your Code
ActiveRecord makes transactions easy to reach for. What each of the four ACID guarantees actually promises, and where Rails developers get isolation wrong.
5 min de lecture
Designing HTTP APIs in Rails That Your Frontend Team Will Actually Like
Most API complaints are about inconsistency, not missing features. Consistency is the actual deliverable of API design.
4 min de lecture
Idempotent by Design: Making Your Sidekiq Jobs Safe to Retry
Sidekiq guarantees at-least-once delivery, not exactly-once. Any job that is not safe to run twice is a bug waiting for the right overlap.
4 min de lecture
How to Backfill Millions of Rows in a Rails Database Without Downtime
Backfilling a table with forty million rows is a different problem than backfilling one with forty thousand. What changes, and how we throttle it safely.
4 min de lecture
Migrating a Rails Codebase from GitLab to GitHub Without Breaking CI/CD
The git history moves in one command. Everything else, CI, branch protection, integrations, is the actual project.
4 min de lecture
Handling Sensitive Health Data in Rails: Security and Compliance Basics for HealthTech
Building a Rails application that touches health data changes the baseline. Notes on field-level encryption, access auditing, and HDS hosting requirements.
5 min de lecture