logo
  • Find Your Downloads
  • Posts
Welcome!

Or

Playlist
Introduction
Introduction
05:54
Baby Steps: Homepage
05:07
How Tailwind CSS Works with Rails
06:14
Tests and Tools
04:10
Our First Scaffold
09:28
Spina
Setting Up Spina
10:54
The Spina Layout
03:17
Defining Parts of a Page
11:25
Creating a Sales Page: The Repeater
08:02
Creating a Sales Page: The Layout
04:40
Importing Data With Migrations
24:24
Making Your Own Embed
06:14
In The Real World
06:32
Authentication
Installing Devise
11:30
Using Passwordless Login
09:51
Logging Out and Registering On the Fly
07:16
Adding Social Login With OmniAuth
11:24
Integrating Devise and Spina
06:45
The Rewrite
Flexing Make
05:30
Using Scaffold With Existing Data
08:30
Scaffolding Everything
06:36
Many to Many Associations
04:33
Editing Many to Many Records
04:49
More Complex Many to Many
03:02
A Look at Rails Tests
05:48
Filtering Routes
04:54
Some Tips and Tools
05:20
Deployment
Deployment Considerations
05:20
Setting Up A Dokku App and Database
10:46
Preflight Check
09:51
The First Deployment
08:21
Setting Up S3 CDN
04:10
Wrapping Up
03:58

Baby Steps: Homepage

This is a premium course, which you can purchase below.

Buy Now

Reviewing the basics is always a good thing! Let's setup a home page and review how routing works with Rails.


The Code

Creating a Rails controller:

rails g controller home about

This creates a home\controller for us with two routes: index and about.
Setting our default root route:

root "home#index
logo

A home for self-taught programmers

Publications
  • The Imposter's Handbook
  • The Imposter's Roadmap
  • A Curious Moon
Links
  • Posts
  • Newsletter
  • This Developer's Life

Join the Newsletter

Subscribe to get the latest posts by email.

    We won't send you spam. Unsubscribe at any time.