Andrea Fomera/Learn Rails by Building Instagram (2019, Rails 6)

Heads up!

This course is out of date

I can't recommend you follow this for new Rails 7 apps.

If you'd like you can take this course, but it is severely out of date and I have no plans to update this version of the course to Rails 7 content. It uses old behavior that are no longer best practices.

I am recording an updated version, that will be available for purchase soon.

  • Free

Learn Rails by Building Instagram (2019, Rails 6)

  • Closed

Want to learn the basics of the Ruby on Rails framework? In this course, we will build Railsgram, which is a simplified version of Instagram. We will go from rails new all the way to deploying to production.

Get it today and kickstart your Ruby on Rails journey.

Contents

Introduction

What is Ruby on Rails?
Preview
Why Rails?
Preview
Initial Setup Requirements / START HERE
Preview
Troubleshooting Checklist
What are we Building?
Preview

Getting Started

Initial project setup for our application that you will likely likely be able to apply to other projects you do.
Running rails new
Preview
Installing Bootstrap with Webpacker
Preview
Setting up our Basic Navbar
Preview

Adding Users

Users is a central piece of our application. Without users, no one can upload or see images from people they follow. In this section we'll add users.
Installing Devise / Generating User model
Updating our Navbar with working links
Extending the User Edit page
Adding Flash Messages
Adding User Profiles

ActiveStorage Introduction

Installing ActiveStorage / Adding Avatars to Users

Posts

Adding Posts to our Application.
Creating Post Model and Controller
Adding Validations
Adding Post Feed (Post index)
Adding Posts to Profile / Post Deletion
Adding Likes to Posts

Post Comments

Starting to add Post Comments
Installing Stimulus.js & Finishing Basic Comments
Paginating Comments for infinite scroll (custom pagination with Stimulus)
ActionCable Introduction / Realtime Comments
Comment Fixes / Touchups
Allow Adding Comment on Post Creation

User Following

Creating our Follow model
Wiring up Following
Only See Posts From People You Follow

Preparing for Production / Deployment

Polishing User Profile
Polishing User Edit Page & Devise Error Message Helper
Polishing Signup and Login Pages
Polishing Forgot Password and Welcome Page
Adding Local Time
Deploying to Hatchbox

Conclusion / Thank You

Thank You!
Provide Feedback Here
Source Code

About the Author

My name is Andrea Fomera, I'm currently a Rails Developer at Podia. I've been coding with Ruby on Rails since 2014, and started my professional career in 2016. 

I enjoy helping people and sharing what I know. I made this course because it's one of the courses I wish I would have had when I was starting out. 

FAQs

Who is this course for?

I started this course with the goal of making the course I wish I had when I started, so if you're new to Ruby on Rails, or interested in getting started my hope is this will be a great course for you to pick up and use as a resource.

I have a major pet peeve with tutorials going through fruit examples or foobar/foobaz, so I tried to pick an example with features that actual real-world applications would need.

Disclaimer: This happens to be my first course, so I will likely make mistakes, or get fumbled up talking and not make sense.

How long will I have access to the course?

You'll have access to this version of the course for life!

What if I don't like it?

If you aren't finding any use out of the course or it doesn't live up to your expectations, I'll provide a full refund within 14 days from purchase as long as you provide me with feedback for how I can improve the course. 

I can't afford this course / Can't buy the course in my country

I've been there, and want to help. I care more about sharing what I know than making profit. Send me a Twitter DM, and we can work something out. 

What do I need to know?

You'll ideally have some basic knowledge of HTML/CSS, as we will generally move quickly with that, and focus on Ruby on Rails.

If you've looked at the Ruby basics you'll be a leg up. You can try following along and just doing what you see but I highly recommend you spend some time and read up on Ruby before trying to build a Rails app.

Testimonials

It's hard to find a "complete" Rails course like yours. And the transition away from CoffeeScript into ES6?, Webpack, yarn… makes it harder to get an up-to-date course, packed with ActionCable, ActiveStorage, ActionText, etc.

A recent customer

Join my newsletter

Not ready to buy yet? Sign up to get product updates, price changes, launch announcements and more by joining my newsletter. 

You're signing up to receive emails from Andrea Fomera