|
Provided by: Webucator Introduction to Ruby on Rails |
![]() |
Training
Provided by Webucator
In this Ruby on Rails training course, students will learn to create database-driven websites using Ruby on Rails. They will learn to install Ruby and Rails, to program in Ruby and use Ajax in their Ruby on Rails applications.
|
|
||||||||||
Introduction to Ruby on Rails
Introduction to Ruby on Rails Training Course Overview
In this Ruby on Rails training course, students will learn to create database-driven websites using Ruby on Rails. They will learn to install Ruby and Rails, to program in Ruby and use Ajax in their Ruby on Rails applications.
Introduction to Ruby on Rails Training Course Goals
- Learn to install and configure Ruby and Rails
- Understand the Model-View-Controller framework architecture
- Learn to program in Ruby
- Learn to build database-driven applications with Ruby on Rails
- Learn to work with templates
- Learn to use Ajax in Ruby on Rails applications
- Learn to test Ruby on Rails applications
Introduction to Ruby on Rails Training Course Prerequisites
Experience in the following areas is required:
- HTML
Experience in the following areas would be beneficial.
- Server-side programming experience
- SQL
Introduction to Ruby on Rails Training Course Outline
- Getting Started with Rails
- Installing RailsPlatform requirements
- Supported database backends
- Ruby installation
- InstantRails for Windows
- Creating a new application
- The 'rails' command
- Tour of the Rails application layout
- Application configuration and bootstrapping
- Creating the databases
- Configuring database.yml
- Setting the default route
- Connecting to a Rails application
- controller/action/id URL semantics
- Dispatcher and routing roadmap
- Examining the log files
- Rails tools
- Managing tasks with rake (Ruby make)
- The application console
- The Model/View/Controller (MVC) framework architecture
- Separation of concerns
- MVC in the application directory layout
- The Rails philosophy: "Convention over configuration"
- Installing RailsPlatform requirements
- Ruby Language Skills and Techniques
- Running Ruby
- Command-line Ruby
- The Interactive Ruby (irb) console
- Objects, variables, and methods
- Basic object-orientation concepts
- Naming conventions
- Variable assignment
- Local vs. instance variables
- Method-calling semantics
- Method arguments and return values
- Classes and modules
- Instantiating classes
- Mixing in modules
- Modules as namespaces
- Built-in classes
- String
- Array
- Hash
- Symbol
- Numerics
- Blocks and iterators
- Blocks vs. methods vs. lambdas
- Collection iteration
- Single-object iteration
- Exceptions
- Built-in exceptions
- Writing your own exception classes
- Exceptions in Rails
- Running Ruby
- Model Design and Database Management
- Domain modeling for Rails and Ruby
- Describing the "what" of the application
- Creating ActiveRecord models with "generate"
- Object-relational mapping with ActiveRecord
- ActiveRecord models and Ruby classes
- ActiveRecord associations
- One-to-one, one-to-many
- Many-to-many
- "Rails-friendly" SQL
- Table-naming conventions
- Primary and foreign keys
- Database maintenance with ActiveRecord Migrations
- Default migrations
- Customizing migrations
- Migrating backwards
- Domain modeling for Rails and Ruby
- Controller Actions and View Templates
- Basics of controller/view interaction
- Creating controllers and view with "generate"
- Default rendering rules
- Shared controller/template instance variables
- Separating controller logic from view specifics
- HTML templating with Embedded Ruby (ERb)
- Rules of ERb processing
- Layouts
- Using master and partial templates
- Fine-tuning controllers and view
- Controller filters
- Redirecting control
- Default and custom view helper methods
- Writing and processing HTML forms in Rails
- Using form helper methods
- "Magic" field initialization from instance variables
- Accessing CGI data through the "params" hash
- Ajax calls and RJS (Ruby/JavaScript) templates
- Basic DOM updating with Ajax
- Using RJS for composite Ajax calls
- Basics of controller/view interaction
- Application Testing
- Rails unit tests
- The Ruby TestUnit framework
- Writing fixturesAddressing test failures and errors
- Rails unit tests
- Ruby and Rails Resources
- Mailing lists
- Websites
- Books
- IRC channels
Introduction to Ruby on Rails Training Course Materials
Each student will receive a comprehensive set of materials, including course notes and all the programming examples.
Introduction to Ruby on Rails Training Course Technical Requirements and Setup Instructions
Click here for technical requirements and setup instructions
About The Training Provider: Webucator
Webucator - Webucator delivers customized onsite, instructor-led online and at-your-own-paced technical training throughout the United States and worldwide. Webucator has trained 40 percent of the Fortune 100.
Onsite Class Delivery:
Our onsite classes are delivered for private groups at your offices or a location of your choice. These classes can also be delivered through a web conference for...

