Mastering Background Processing in Rails 8: Sidekiq & Redis Optimization
In modern web applications, keeping the Request-Response cycle fast is crucial for user experience. If a user registers on your Rails 8 app and you tr
Curated development tutorials from top sources. Filter by language.
In modern web applications, keeping the Request-Response cycle fast is crucial for user experience. If a user registers on your Rails 8 app and you tr
A couple of weeks ago I wrote about trying to build a universal ButtonComponent — one with no custom CSS classes. The result worked but was complicate
I love Rails, but I’ve always found ERB to be a bit messy. You spend your whole day jumping between the "Backend" (clean Ruby code) and the "Frontend"
The Rails maintenance policy is lean by design: only the most recent minor version of the most recent two major versions receives security patches. Ev
SOLID Principles in Ruby on Rails SOLID is not a Rails or Ruby concept. It's a set of five object-oriented design principles that apply to
When working with Ruby on Rails, testing HTTP endpoints is part of everyday development. Most of the time, we rely on tools like Postman, Insomnia, c
Quem trabalha com Ruby on Rails sabe que testar endpoints HTTP faz parte da rotina de desenvolvimento. Na maioria das vezes usamos ferramentas como P
A little while ago I was asked to to build a “white-label” feature into an existing app. Their customers can now customize the app to match their bran
A Rails app starts calling OpenAI or Anthropic. A few months later someone in finance asks "who's burning $X a month on this and on what?" The answer
Most AI agents don't have a cost problem on paper. They have a cost problem at the end of the month. More and more people use AI agents for real work
Tomato Crusher (working title) Test-Build-Resolution Tracker I'm taking the approach of build, test, fail, iterate. This will be a short-hand recap o
Spin up from FirstDraft Co-pilot. It's been a while since I've done this, so I'll outline the process. Include devise gem on gemfile bundle install
In a previous article, I talked about Snowflake IDs. They are great, but they require a bit of configuration because you need to manage "Worker IDs."
A Rails engine that allows you to query the database using natural language, with RAG and LLMs. No need to write any code. Every Rails project reac
Anyone who works with Ruby on Rails applications knows that, as a project grows, quickly understanding the relationships between models can become inc
Quem trabalha com aplicações Ruby on Rails sabe que, conforme o projeto cresce, entender rapidamente as relações entre modelos pode se tornar cada vez
Rugby is an exciting sport and the most demanding of all sports. Many rugby fans are just starting to get into the sport and ask themselves how long a
Rails X XCode Tips When reading commands from a textbook, the \ in the command instruction line is usually just a line continuation in instructions.
flag_shih_tzu stores many boolean attributes in one integer column. Each boolean gets one bit 〰️ well that used to be true 〰️ v1.0.0 supports multi-bi
Ruby on Rails is the framework that popularized "convention over configuration." There's a right place for everything — models in app/models, controll