Course details

Introduction to Rails

Introduction to Rails

Target Audience
Expected Duration
Lesson Objectives
Course Number
Expertise Level

Rails is a powerful web application framework written in Ruby. Rails puts a strong emphasis on the programming paradigms of convention over configuration and don't repeat yourself. In this course, you will learn the basics of the Rails environment. You'll learn about routing, what the ActionController does, and how to do seeding.

Target Audience
Programmers looking to expand their skill set in the Rails environment


Expected Duration (hours)

Lesson Objectives

Introduction to Rails

  • start the course
  • describe Rails
  • set up the Rails environment
  • create a new project
  • recall how to change different settings
  • describe where the secrets.yml file is found and what it contains
  • describe how to use the bundler
  • create a new Logger and describe how the Rails.logger method is used
  • generate a basic scaffold
  • describe the scaffold
  • describe what the routes.rb file is and how it is used
  • describe how to use a singular resource route
  • create nested resource routes
  • create shallow resource routes
  • create static pages
  • describe what migrations are and how they are used
  • create and sequence a migration
  • perform and roll back a migration
  • recall what some of the migration and database constraints are
  • recall how to edit the seeds.rb file
  • describe the controller actions INDEX, NEW, and CREATE
  • describe the member actions SHOW, EDIT, UPDATE, and DESTROY
  • use respond_to to render JSON and XML
  • use the ActionController::Live module
  • use action callbacks
  • use variants to render different templates based on some criteria
  • generate a basic scaffold and create shallow routes
  • Course Number:

    Expertise Level