Introduction to Rails


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
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

Prerequisites
None

Expected Duration (hours)
1.9

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:
    sd_rorf_a01_it_enus

    Expertise Level
    Intermediate