Using LLMs and MCP to Debug PostgreSQL Performance in Rails
A tutorial on automating PostgreSQL performance debugging in Rails using LLMs and the Model Context Protocol (MCP) with a Slack bot interface.
A tutorial on automating PostgreSQL performance debugging in Rails using LLMs and the Model Context Protocol (MCP) with a Slack bot interface.
A guide to self-hosting the Bugsink error monitoring tool using Kamal for deployment, including Docker setup and configuration.
A tutorial on a custom puts debugging workflow for Rails, inspired by Rust's dbg! macro, using the dbg-rb gem.
A deep dive into Kamal, the deployment tool for Rails 8, based on a presentation at Ruby Frankfurt, covering migration from traditional methods.
An introduction to using Packs (Packwerk) for feature-based code organization in Rails applications as an alternative to Engines.
A guide to speeding up Rails/RSpec tests using parallelization, asset precompilation, and GitLab CI integration to reduce deployment times.
Explains challenges and best practices for handling Sidekiq background job restarts during Rails application deployments.
Explains the subtle but important difference between using combined and separate where.not clauses in Ruby on Rails ActiveRecord queries.
A guide to setting up a Ruby on Rails development environment using Docker, allowing commands to be run without installing tools locally.
A developer explains how fixing the Content-Type header from application/atom+xml to text/xml enabled XSLT styling for RSS/Atom feeds.
A comprehensive 2021 chart categorizing backend web frameworks by language and architectural style (minimalist vs. robust).
Explores new experimental performance features in Puma 5, including a 'sleep sort' latency reduction technique for Ruby web servers.
DEV upgraded its frontend infrastructure from Webpacker 3/Babel 6 to Webpacker 4/Babel 7, enabling faster builds and new tooling.
Explains why premature optimization in programming is inefficient, using the Pareto Principle and power laws to argue for data-driven performance improvements.
An overview of dev.to's frontend architecture, covering its vanilla JS codebase and modern Preact components managed with webpacker.
Identifies three common ActiveRecord usage mistakes in Rails that cause unnecessary SQL queries and slow down application performance.
Tips for improving Rails development performance in Vagrant by addressing logging and filesystem bottlenecks.
A 2014 review of 'Advanced Rails' by Brad Ediger, concluding the book is outdated and not recommended for modern development.
Explores using Policy objects and Extractors in Rails to handle multi-provider OAuth authentication cleanly, moving beyond CanCan/Pundit for authorization.
A developer shares progress on an iOS app using CoreData and a Rails Twitter app, discussing tools and testing practices.