Tutorials

Serving Large Files in Rails with a Reverse Proxy Server (Nginx)
If your Rails app deals with large files, let a reverse proxy like Nginx or Thruster serve them. In this post, we'll learn how X-Accel-Redirect (or X-Sendfile) header hands off file delivery to Nginx. We'll also read Thruster’s source code to lear...

Coding agent in 94 lines of Ruby | Radan Skorić's website
An article floated into my reading list: How to Build an Agent, or: The Emperor Has No Clothes. The author, Thorsten Ball, claims building a coding agent isn’t hard, then builds one in ~400 lines of Go. While reading the code, I kept thinking that...

3D Charts and More with JRuby and JFreeChart – Charles Oliver Nutter – Java, Ruby, and JVM guy trying to make sense of it all
After playing with JFreeChart and JRuby and writing up a lovely blog post called “Beautiful Charts with JRuby and JFreeChart” it seems that some folks did not agree with my assessment of the charts as “beautiful” and others did not realize the pow...


Developing a voice AI app in Rails for drive-through ordering
If you attended the live coding session last week with Chad Pytel and Svenja Schäfer you are probably familiar with the favourite thoughtbot fast food restaurant: Dinorex. If you missed it, you can watch the recording on YouTube.
In this post, we...

A faster way to copy SQLite databases between computers – alexwlchan
As the project matures and the database grows, this gets slower and less reliable. Downloading a 250MB database from my web server takes about a minute over my home Internet connection, and that’s pretty small – most of my databases are multiple g...

🚀 Getting Started with React and Docker: A "Hello World" for Ruby Developers | LinkedIn
In recent years, many Ruby and Ruby on Rails projects have adopted React for their front-end needs. Whether you're building a modern single-page application (SPA) or just enhancing parts of your Rails views, learning React can open up a new world ...

Streaming LLM Responses with Rails: SSE vs. Turbo Streams
In the world of Rails development, integrating large language models (LLMs) like OpenAI's GPT has become increasingly common. One challenge developers face is streaming these responses efficiently to provide a smooth user experience.
This post wi...

Turbo Drive, Frames, Streams, Morph? What to use?! | Rails Designer
The Hotwire trifecta allows you to write modern (Rails) web apps, without the need to write (a lot of) cumbersome JavaScript with Turbo’s Drive, Frames, Streams or Morph. But with all these options, which one to use and when?
Hotwire, like Rails,...

Setting Up Rails With Dev Containers - FastRuby.io | Rails Upgrade Service
Having reproducible development environments is one of the best ways to guarantee ease of application setup and code sharing in teams. Dev containers are a way to achieve this.
In this article we’ll try to give you a small introduction to what de...