Subscribe to Newsletter

Print

Ruby on Rails Programming Training Course


(This course is offered only on-demand to a private batch and can be customized as per the business requirements)

This hands on Ruby on Rails (RoR) course provides the knowledge necessary to design and develop dynamic, database-driven web pages using Ruby. Ruby is a web language which is, quick to learn, easy to deploy and provides substantial functionality required for e-commerce. This course introduces the Rails framework and syntax, and covers in depth the most important techniques used to build dynamic web sites. Students will learn how to connect to any ODBC-compliant database, and perform hands on practice with a MySQL database to create database-driven HTML forms and reports. Students also learn how to configure Ruby and Rails. Comprehensive lab exercises provide facilitated hands on practice crucial to develop competence web sites.

Objectives

At the end of Ruby on Rails Training course, participants will be able to:

  • Configure and install Ruby and Rails
  • Learn the basics of the Ruby language
  • Build a new Rails application from scratch
  • Setup and manage databases with migrations
  • Learn how to configure Rails' routing
  • Practice test-driven development (TDD) with Rspec
  • Learn about behavior-driven development (BDD) with Cucumber
  • Learn how to leverage ActiveRecord with associations, validations, and callbacks
  • Understand resources and REST, and how to use them in a Rails application
  • Learn how to find and use plugins
  • Understand the various deployment options for Rails applications
  • Understand Rails' opinions and how to embrace or override them

Suggested Audience - This course is designed for developers who have some web development experience that wish to learn Ruby on Rails.

Duration - 5 Days

Prerequisites - The participants taking Ruby on Rails Training course must be familiar with the general principles of object oriented programming (OOP). Prior exposure to the following concepts and technologies is very helpful, but not required.

  • General understanding of web development principles
  • Basic knowledge of HTML and CSS
  • Basic knowledge of JavaScript
  • Basic understanding of the HTTP protocol, including concepts like SSL, redirection, GET vs POST, etc.
  • Basic knowledge of SQL
  • Familiarity with MySQL (or any other relational database)

Syllabus

1. Ruby Overview
  • Classes
  • Core Ruby
  • Common Standard Library Classes
  • Control Structures
  • Scope
  • Blocks
  • Modules
2. Toolbox
  • Git
  • Gems
3. Test-driven Development with RSpec
  • Introduction to TDD
  • Red-Green-Refactor
  • Describing a feature
  • Verifying expectations
  • Mocks & Stubs
4. Rails Introduction
  • The Architecture
  • the Model-View-Controller pattern
  • Rails project structure
  • Scaffolding for jumpstart
5. Rails Toolbox
  • Rake
  • Git
  • Test Frameworks
  • Deploying a Rails application
6. Demystifying Rails
  • The Console
  • Models with ActiveRecord
  • Routes and Controllers
  • Associations
  • Migrations
  • Views
7. Simple Debugging Techniques
  • Using the Preprocessor
  • NSLog and the Description Method
  • Using Breakpoints
8. Test-Driving your Rails App
  • Beyond Scaffolding
  • BDD with Cucumber and Rspec
  • Outside-in Testing
  • Test-driving Feature Development
  • Rails testing helpers
9. Advanced Controllers and Models
  • Validations
  • Evolving your Database
  • Modifying Application Flow
10. Rails Power Tools
  • Named Routes
  • Rails Plugins
  • User Authentication