Course Icon PROGRAMMING Training

Ruby on Rails

0800 1337 401

Overview

Ruby is a high level Interpreted, Object Oriented, rapid development language deployed in many scenarios in the modern world.

This Ruby on Rails course is designed to give delegates the knowledge to develop / maintain Ruby scripts and Rails based projects.

Prerequisites

Experience of programming in Ruby.

Objectives

Knowledge of Ruby to write, modify, maintain and understand Ruby and Ruby on Rails.

Outline

Course Contents

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: REST

  • What is REST
  • RESTful architecture
  • A simple REST client

Session 2: INTRODUCTION TO RUBY ON RAILS

  • Install Ruby on Rails on an operating system
  • The Model-View-Controller approach
  • Rails Conventions
  • Rails project structure
  • Using RubyGems with Rails

Session 3: ROUTING

  • What is a Route
  • Define routes that recognize incoming URLs
  • Use named route methods to generate URLs based on the routing scheme
  • Apply and understand the RESTful routing conventions
  • Design apps to take advantage of the REST conventions in Rails

Session 4: MODELS

  • What is a Model
  • Using ActiveRecord
  • Validations
  • Associations
  • Migrations

Session 5: : CONTROLLERS

  • What is a Controller
  • Creating controllers
  • Using ActionController
  • Writing Actions
  • Filters

Session 6: VIEWS

  • What is a View
  • Exploring ActionView
  • Writing Views for actions
  • Partials
  • Forms

Session 7: CREATING A RAILS PROJECT

  • Creating the project
  • Project Directory structure
  • Using the Rails web server
  • Creating the initial controller
  • Modify the initial index.html file
  • Setting the Route
  • Creating a resource
  • Viewing routes with rake

Session 8: RAILS SCAFFOLDING

  • What is Scaffolding
  • Creating a new project
  • Generating the Rail Scaffold
  • Customising the application
See all of the available Technical Courses