Skip to main content

Instructor-led training

Ruby on Rails Training in Newton, Kansas

This 2 - day course describes how to write database - backed Web Applications using the Ruby on Rails (also pronounced RoR, or Rails) Framework.

What you'll learn

This 2 - day 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 the MVC paradigm,object relational mapping, fill - in forms, sessions, validation techniques, testing, and various other Rails topics. This course covers the fundamental components of the Ruby Programming Language. Emphasis is placed on the object oriented aspec ts of Ruby. Topics include arrays, hashes, regular expressions, io, exceptions, modules, and applications areas.

Prerequisites

Students who are familiar with Ruby Programming language, SQL database and have an understanding of HTML.

Course Outline

An Overview of Ruby on Rails

What is Ruby on Rails?

Overview of Rails Components

Installing Rails

A Simple Rails

Application

Starting the Rails Server

Static Pages Within a Rails Application

The Structure of a Rails Application

Generating a Controller

Rendering the View

Adding a Static Page

Dynamic Pages with Embedded Ruby

Using the render Method

Using the l

ink_to Method

 

Rails and HTML Forms

A Basic HTML Form

Processing an HTML Form

Working w

ith Form Data

Other Form Elements

Form Tag Helpers

 

Databases and Rails

Review of the MVC Architecture

Entities and Relationships

Databases and Models

Rails Database Conventions

Adding a Model

Database Migrations

The Rails Database Console

Creating a Rails View of a

Database Table

Scaffolding

RESTful Routes and Resources

 

Form Helpers and Validation

Introduction

Form Helpers and form_for

Processing Form Helpers

From Form to Database

Redirection

Data Validation

Validation Helpers

The presence Validator

The numericality Validator

The uniqueness Validator

The length Validator

The format Validator

Custom Validation Methods

The errors Object

Displaying Validation Errors in the View

 

Adding Style to an Application

Styling

Rails and Sass

Cascading Style Sheets

 

Users

Introduction

Configuring an Application for Sessions

Registering Users

The Register Action

The flash Hash

Validati

ng the Registration

Logging in

Logging Out

Protected Pages

Filters

 

Putting It All Together

Introduction

The Business Application

Database Terminology

Linking Two Models

Adding Tasks

The Database Tables

Displaying Employee Tasks

Deleting a Task

Listing Employees and Tasks

Migrations

Editing a Record

Summary

Training locations

Ruby on Rails training across the U.S. and beyond.

We provide Ruby on Rails training onsite and live online for organizations throughout the United States and internationally.

View all Ruby on Rails training locations

Train your team with HSG

Private, instructor-led training customized for your organization.

  • Onsite or live online delivery
  • Customized curriculum
  • Training for groups of 3 or more
  • Flexible scheduling
  • Experienced instructors
Request a Training Proposal

Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com

Ready to train your team?

Let's customize this training for your organization.

Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.