0345 4506120

Ruby On Rails

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 and maintain Ruby applications and Rails based projects.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

The delegate will learn and acquire skills as follows:

  • Work with REST and describe the purpose of REST and the  Rails MVC architecture
  • Use RAILS and describe the purpose of Rails Routes
  • Create a project using Ruby and Rails
  • Create and customise a Rails Application using scaffold and the SQLite3 database

Who will the Course Benefit?

Developers who are required to write, maintain and test Ruby applications and projects based on Ruby on Rails.

Learning Objectives

Course Objectives

This course aims to provide the delegate with the knowledge to be able to understand, develop and maintain Ruby applications and Rails based projects.

Pre-Requisites

Requirements

Delegates attending this course should have experience programming in Ruby. This knowledge can be obtained by attendance on the pre-requisite  Ruby Programming course.

Pre-Requisite Courses

  • Ruby Programming

Follow-On Courses

  • Apache Web Server
  • Introduction to MySQL
  • Python Programming 1
  • PHP Programming
  • Perl Programming
Notes:
  • Course technical content is subject to change without notice.
  • Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.

Course Content

Course Contents - DAY 1

Course Introduction

  • Administration and Course Materialsqq
  • 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

Course Contents - DAY 2

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

Privacy Notice

In order to provide you with the service requested we will need to retain and use your contact information in accordance with our Privacy Notice. If you choose to provide us with this information you explicitly consent to us using the information as necessary to provide the request service to you. If you do not agree please do not proceed to request the service from us.

Marketing Permissions

Would you like to receive our newsletter and other information on products and services which we think will be of interest to you by email. We will always treat your information with care and in accordance with our Privacy Notice. You are free to withdraw this permission at any time.

 

Our Customers Include