• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Code The Dream School
Code the Dream Labs Logo

Code The Dream School

Main hub for class materials for Code the Dream’s classes

  • Code the Dream Home

Search Code The Dream School

Back End Lesson 3.1: Rails Basics

Welcome to Ruby on Rails Backend Class Lesson 6. We now start the most exciting part of this class, which is to use Rails to create an actual web application. In this unit, we will learn:

  • Configuring your machine for rails development
  • Creating Rail apps | Models | Views | Controllers

Back End Lesson 3.1 Goals

  • Rails development set-up
  • Simple blogging app
  • Work with models, views, and controllers to quickly add new features to your app
  • Understand how routes match to controller methods and path helpers

Curriculum

This is your curriculum for Back End Lesson 6:
3.1.1 Setting Up for Rails Development
(you should have already done this)
3.1.2 Ruby on Rails 5 Basics
(128 min) (we will do this on Rails 6)
3.1.3 Rails Routes and Resources (198 min)

Assignments

The assignment for this week is to duplicate the instructor’s work on the blog application with one exception: You should not do rails new to start. Your assignment github repository with a starter Rails application is here. You will fork this repository and clone your fork as usual, instead of doing rails new.

Every time you clone a Rails 6 repository, you will need to install the necessary gems and resources. This is done in two steps: First do yarn install. Then do bundle install. Occasionally you will need to do yarn install –check-files to update the resources managed by yarn. Occasionally you will need to do bundle update to update the resources managed by the bundler.

For this assignment, maintain your repository to reflect all changes that the instructor shows in the video, in a git branch called blog. It is important that you continue to make changes as the instructor directs, because otherwise you won’t remember the skills. You will continue to work with the same git repository in Lesson 3.2. One Rails 6 note: The instructor uses render text: which is now obsolete. You need to do render plain: instead.

Your mindset curriculum assignment can be found here.

Footer

Copyright © 2025 Code the Dream School | All Rights Reserved | Privacy Policy