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
Watch for free

Enter your email below to watch this video

Video thumbnail
Building a Modern Rails Application
Application overview

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

Rails hosting made simple

Deploy apps to servers that you own and control.

Move fast and fix things

Application monitoring that helps developers get it done.

Summary

Learn how to build Lorem News, a Hacker News-style Rails app with user authentication, posting, and comments. This video covers Active Record and SQLite for data storage and authentication, laying a solid foundation for interactive user features.

Video Transcript

Before we jump into actually building the application, I thought it would be useful to take one video to preview where we're headed. This way, we’ll have a clear understanding of the application we’re building and the features we’ll implement along the way.

Introducing Lorem News: A Hacker News Clone

Here, I have Lorem News running in the browser. Lorem News is a basic Hacker News clone where:

  • Users can submit posts
  • Posts have titles, bodies, and comments
  • Users can sign in, sign up, and view profiles
  • Each profile includes an about section, a list of submitted posts, and comments

User Authentication and Posting

To interact with the application, users need to sign up or log in. After signing in, they can:

  • Submit a new post with a title and body
  • View any post and add comments
  • Edit or delete their posts and comments
  • Revoke active sessions

As an authenticated user, their profile updates dynamically to reflect their activity, such as the number of posts and comments they’ve made.

What We’ll Be Building

We’ll build this step by step, paying special attention to how we leverage Active Record with SQLite to power these features.

Our first focus will be setting up users and authentication, ensuring a solid foundation for secure sign-ins and user management.