Skip Navigation Links

Course Length:
2 Days
Course Description:
This course describes how to write database-backed Web Applications using the Ruby on Rails (also pronounced RoR, or Rails) Framework. Students are taken through the various steps of creating a full-fledged Web Application. Topics include static and dynamic pages, sign up forms, signing in and out, sessions, managing users, and various other Rails topics.
Who Should Attend:
A typical student in this course has either been tasked with writing a Rails application, or has been tasked with evaluating the Rails framework. Thus, this course should be attended by developers and managers alike, and possibly system administrators.
Benefits of Attendance:
Upon completion of this course, students will be able to:
  • Install and set up the development environment.
  • Understand and create a basic Rails application.
  • Create static pages.
  • Understand the Ruby language underlying Rails.
  • Create a site layout, user data model, and full registration and authentication system.
  • Add microblogging and social features.
Prerequisites:
Students should have been through a course in the Ruby Programming language. They should also have an understanding of HTML. Students should also have experience with a SQL compliant database such as MySQL.
Course Outline:
  • From Zero to Deploy
    1. Introduction
    2. Up and Running
    3. Version Control with Git
    4. Deploying
  • A Demo App
    1. Planning the Application
    2. The Users Resource
    3. A Microposts Resource
  • Mostly Static Pages
    1. Static Pages
    2. Our First Tests
    3. Slightly Dynamic Pages
    4. Exercises
  • Rails Flavored Ruby
    1. Motivation
    2. Strings and Methods
    3. Other Data Structures
    4. Ruby Classes
    5. Exercises
  • Filling in the Layout
    1. Adding Some Structure
    2. Layout Links
    3. User Signup: A first Step
    4. Exercises
  • Modeling and Viewing Users
    1. User Model
    2. User Validations
    3. Viewing Users
    4. Exercises
    5. Insecure Passwords
    6. Secure Passwords
    7. Better User Views
    8. Exercises
  • Sign Up
    1. Signup Form
    2. Signup Failure
    3. Signup Success
    4. RSpec Integration Tests
    5. Exercises
  • Sign In, Sign Out
    1. Sessions
    2. Signin Failure
    3. Signin Success
    4. Signing Out
    5. Exercises
  • Updating, Showing, and Deleting Users
    1. Updating Users
    2. Protecting Pages
    3. Showing Users
    4. Destroying Users
    5. Exercises
  • User Microposts
    1. A Micropost Model
    2. Showing Microposts
    3. Manipulating Microposts
    4. Exercises
  • Following Users
    1. A Relationship Model
    2. A Web Interface for Following and Followers
    3. The Status Feed
    4. Exercises