High Leverage Rails
Introduction
Introduction to this course
Why use Ruby on Rails
Why use SQLite
Ruby on Rails + SQLite
Powering Your App with SQLite
Creating tables
Timestamps
Column types
Typeof
Ruby types
Creating table introduction
Creating table advanced
Inserting data
Updating data
Upserting data
Reading data
Virtual columns
Enums
Introduction to JSON
Indexing JSON
JSON table functions
Building a Modern Rails Application
Creating a new Rails application
Installing Solid Queue
Installing Solid Cache
Installing Solid Cable
Dockerfile
Application overview
Authentication
Base styles
Registration
Scaffolding posts
Polishing posts
Scaffolding comments
Polishing comments
Polishing models
Polishing controllers
Creating new post
Updating post
Reviewing MVP
Tagging posts
Custom tags
Friendly URLs
Full text search
Deploying & Operating Your App
Backups
Check Litestream locally
Verifying backups
Deployment options
Deploying with Hatchbox
Deployment constraints
Vertical scaling
Database access
Migrations
Next video (8)
Introduction
Ruby on Rails + SQLite

Full Course

$
129
$179
USD, one-time fee
This course came at the perfect time. I’ve recently gotten back into Rails after an 18-year hiatus, and this was a perfect refresher and shows just how much you can accomplish with Rails right out of the box.
Garrett Winder
Garrett Winder

Move fast and fix things

Application monitoring that helps developers get it done.

Rails hosting made simple

Deploy apps to servers that you own and control.

Summary

Rails 8 is the first web framework to fully integrate SQLite, offering a seamless, production-ready development experience. This video explores how Rails 8 optimizes SQLite for solo developers, enabling fast, efficient application building without complex database management.

Links

SQLite on Rails: The how and why of optimal performance

Video Transcript

We know why we've chosen Rails and why we've chosen SQLite, but why have we decided to pair them together for this course?

The short answer is that Rails 8 is a milestone release for web application frameworks that want to leverage the power and simplicity of the SQLite database engine. As far as I’m aware, Rails 8 is the first major web framework to provide an out-of-the-box, production-ready SQLite experience.

This is made possible through several key features and fixes that have been built into the framework over the last few years. At its core, Rails 8 ensures that multi-threaded web applications have a high-performance, fault-tolerant default experience with SQLite.

I won’t go into all the technical details here—many blog posts have already covered this topic, and I’ve linked them below. However, the key takeaway is that Rails 8 + SQLite now provides a seamless experience that removes the need for developers to manually configure settings, optimize performance, or handle edge cases that previously existed.

Why Rails 8 and SQLite Make a Powerful Pair

In addition to these technical improvements, Rails and SQLite make for a truly unique pairing.

  1. A "One-Person Framework" DHH, the creator of Rails, describes it as a "one-person framework", designed to bridge complexity and allow a single developer—just you and your laptop—to build full-featured applications without an entire team.

This philosophy aligns perfectly with SQLite, which is also built for low-friction, easy-to-use development that doesn’t require a dedicated operations team to manage.

By combining Rails 8 and SQLite, you get a set of tools that empower solo developers to build powerful applications without needing to master complex database management or rely on specialists for setup and maintenance.

  1. Rails 8 is Optimized for SQLite in Production Another reason why Rails 8 marks a major milestone is that it fully optimizes SQLite for production-ready applications.

SQLite prioritizes backwards compatibility over adopting modern performance defaults, which means that developers have historically needed to fine-tune it for web applications.

However, in a multi-threaded web application context, there are many settings, features, and behaviors that need to be properly configured for fault tolerance and high performance.

With Rails 8, these optimizations are now built into the framework, meaning that developers can immediately take advantage of SQLite’s operational simplicity without the need for manual fine-tuning.

I’ve linked several blog posts below that go into technical details on these optimizations if you're interested in learning more. But suffice it to say, Rails 8 provides the best possible experience for using SQLite in production.

Why This Matters for This Course

For this course, we’ve paired Rails 8 with SQLite because this combination allows us to build fast while shipping high-quality applications.

  • Faster development: No need to configure or manage a separate database engine.
  • Production-ready by default: Rails 8 ensures that SQLite works seamlessly in multi-threaded environments.
  • Ideal for solo developers: No need for a database admin or deep backend expertise—just start building.

This course is optimized for speed and quality, and Rails 8 + SQLite is the perfect pairing to achieve that goal.

In the next lesson, we’ll dive deeper into some of the advanced features of SQLite and how they integrate seamlessly with Rails 8 to create highly efficient applications.