3 arrows

Summer-Ready Savings: Up To $500 Off Training 

closeClose

Ruby on Rails

  • Tuition USD $1,595 GSA  $1,446.35
  • Reviews star_rate star_rate star_rate star_rate star_half 4064 Ratings
  • Course Code RUBY-RAILS
  • Duration 2 days
  • Available Formats Classroom

Core Ruby on Rails is a two day course that teaches students how to write database-backed Web Applications using the Ruby on Rails (RoR) Framework. Working in a hands-on learning environment, Students explore the various steps of creating a robust Web Application. Course topics include the MVC paradigm, object relational mapping, fill in forms, sessions, validation techniques, testing, and other core features of Rails.

Skills Gained

  • Sownload and install Rails along with various other products that allow one to write Rails applications
  • Understand the Model, View, Controller paradigm and how this applies to Rails applications
  • Understand the directory structure of a Rails application
  • Build non-trivial database backed Web Applications
  • Understand the ActiveRecord classes and how they wrap database tables
  • Understand the interplay between various controller actions and .rhtml (template) files
  • Understand the Create, Read, Update, and Destroy (CRUD) paradigm
  • Validate Model data
  • Test Rails applications
  • Use the Rails console to debug applications

Who Can Benefit

This course is geared for web developers currently using Java, .Net, or other frameworks, who are seeking a more agile way to get things done.

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 Details

SESSION 1: AN OVERVIEW OF RUBY ON RAILS

  • What is Ruby on Rails?
  • Downloading Rails
  • A Rails Application
  • Structure of a Rails Application
  • Building the Controller
  • Views
  • A Quick Review
  • Rails Conventions
  • Embedded Ruby
  • Extended Time Functions
  • The render Method
  • The link_to Method
  • One Last Thought

SESSION 2: FILL IN FORMS

  • Introduction
  • Creating a Form
  • Submitting a Form
  • Other Form Elements - Checkboxes
  • Radio Buttons
  • Rails Helper Methods
  • Loading the Form
  • Submitting the Form
  • Perspective

SESSION 3: DATABASES AND RAILS

  • Review of MVC
  • Entities and Relationships
  • Databases and Models
  • database.yml
  • Adding the Model
  • Migrations
  • The Index Page
  • The Ruby Console
  • Listing the Rows of a Database Table
  • Scaffolding

SESSION 4: VALIDATION TECHNIQUES

  • Introduction
  • form_for
  • Data Validation
  • Required Fields
  • Validating Numerical Fields
  • Validating Uniqueness
  • Validating Lengths
  • Validating Formats
  • Writing Your Own Validation Methods
  • The errors Object
  • Validation Summary

SESSION 5: STYLE

  • Adding Style to Your Application
  • The Actions and the Templates
  • Displaying the New Templates
  • Higher Level Templates
  • Adding Style
  • Cascading Style Sheets
  • More Style

SESSION 6: USERS

  • Introduction
  • Maintaining State
  • Preparing an Application for Sessions
  • Registering Users
  • Registration
  • The flash Hash
  • Validation of the Form
  • Logging In
  • Logging Out
  • Protected Pages
  • Filters

SESSION 7: PUTTING IT ALL TOGETHER

  • Introduction
  • The Business Application
  • Database Terminology
  • Linking Two Models
  • Adding Tasks
  • The Database Tables
  • Displaying an Employee Task
  • Deleting a Task
  • Listing Both Employees and Tasks
  • Migrations
  • application_helpers.rb
  • Editing a Record
  • Summary

SESSION 8: TESTING THE APPLICATION

  • Introduction
  • Test::Unit
  • Testing Your Own Classes
  • Testing in Rails – Unit Testing
  • Testing Models
  • Fixtures
  • Testing Controllers
  • test_helper.rb
  • rake
  • Integration Testing

When does class start/end?

Classes begin promptly at 9:00 am, and typically end at 5:00 pm.

Does the course schedule include a Lunchbreak?

Lunch is normally an hour long and begins at noon. Coffee, tea, hot chocolate and juice are available all day in the kitchen. Fruit, muffins and bagels are served each morning. There are numerous restaurants near each of our centers, and some popular ones are indicated on the Area Map in the Student Welcome Handbooks - these can be picked up in the lobby or requested from one of our ExitCertified staff.

How can someone reach me during class?

If someone should need to contact you while you are in class, please have them call the center telephone number and leave a message with the receptionist.

What languages are used to deliver training?

Most courses are conducted in English, unless otherwise specified. Some courses will have the word "FRENCH" marked in red beside the scheduled date(s) indicating the language of instruction.

What does GTR stand for?

GTR stands for Guaranteed to Run; if you see a course with this status, it means this event is confirmed to run. View our GTR page to see our full list of Guaranteed to Run courses.

Does ExitCertified deliver group training?

Yes, we provide training for groups, individuals and private on sites. View our group training page for more information.

Does ExitCertified deliver group training?

Yes, we provide training for groups, individuals, and private on sites. View our group training page for more information.

Classromm confortable and enviroment. Instructir knowlegeable of course matarial but need to align to students working in the Canadian Federal Govt. ve US Federal govt.

It would be better if the classroom had two power point screens so the instructor could have two screens shown to the class at the same time to reduce confusion switching back and forth

Concise and good to follow along. Although it is a lot to take in under a short period of time.

Good Course. We covered a lot of material in a short amount of time. This course had useful labs that built upon each other.

Good training material and good instruction. More time needs to be provided for the lab work.

0 options available

There are currently no scheduled dates for this course. If you are interested in this course, request a course date with the links above. We can also contact you when the course is scheduled in your area.

Contact Us 1-800-803-3948
Contact Us
FAQ Get immediate answers to our most frequently asked qestions. View FAQs arrow_forward