Course
Skills Expanded
Introduction to Ruby on Rails 3 and 4
This course will cover all of the basics of working with the Ruby on Rails 3 and 4 frameworks.
What you'll learn
This course will cover all of the basics of working with the Ruby on Rails 3 and 4 frameworks. We’ll start off by providing a quick overview of Rails and immediately get to work building your first application from the ground up. The Philosophy and Architecture of Rails, as well as a more in depth look at each of Rail’s components, will be looked at while we enhance our initial application.
Table of contents
Introduction to Ruby on Rails 3
15mins
Installing Rails and Setting up your Development Environment
16mins
- Introduction 0m
- Prerequisites 2m
- Databases and Rails 1m
- Overview of Ruby Gems 2m
- Installing Rails on Windows 1m
- Demo: One Button Rails Installer on Windows 3m
- Installing Rails on Windows (Continued) 0m
- Demo: Installing Rails on Windows with Ruby Gems 1m
- Installing Rails on Linux/Unix and Mac OSX 0m
- Demo: Installing Rails on Mac OSX 2m
- Rails Servers 2m
- IDE's 2m
- Summary 1m
Creating Your First Rails Application
42mins
- Introduction 1m
- What We're Building 1m
- Rails Command Line Overview 2m
- Creating The Project 1m
- Demo: Creating The Project 2m
- Rails Project Structure 1m
- Demo: Walk Through of A Project's Layout 8m
- Running The Project 1m
- Demo: Starting The Server and Using The Application 3m
- Database Management 1m
- Demo: Database Configuration Walk Through 2m
- Generating A Scaffold 2m
- Demo: Creating A Scaffold in The Application 1m
- Demo: Scaffold Code Walk Through 6m
- Rake Overview 1m
- Demo: rake db:migrate 2m
- Routes Overview 2m
- Demo: rake routes 1m
- Testing The Scaffold 1m
- Demo: Using The Application 3m
- Summary 1m
Rails Architecture
21mins
Rails Tools
45mins
- Introduction 0m
- Gemfile 3m
- Demo: Adding Gems to The Gemfile 3m
- Database Migrations in Depth 2m
- Demo: Database Migrations 5m
- Data Seeding 1m
- Demo: Running rake db:seed 3m
- Generators Overview 2m
- Generating Models 2m
- Demo: Generating a New Model 5m
- Generating Controllers 1m
- Demo: Generating a New Controller 3m
- Rails Console Overview 4m
- Rails DB Console 2m
- Other Rake Tasks 1m
- Demo: Rake Tasks 3m
- Asset Pipeline Overview 4m
- Summary 1m
Rails Controllers and Views
47mins
- Introduction 0m
- Demo: Controller Development Example 7m
- Controller and View Support Objects 2m
- Common Support Object Uses 4m
- Creating New Actions 2m
- Custom Rails Routing 2m
- Rails 4 Concerns and Routing 1m
- Demo: Creating a New Resume Action 7m
- Controller Filters 1m
- Demo: Adding a Filter 5m
- Rails 4 Strong Parameters 1m
- View Helpers 6m
- Rails 4 View Helpers 1m
- Render 2m
- Partials 3m
- Turbolinks 2m
- Summary 1m
Rails Models and ActiveRecord
47mins
- Introduction 1m
- Objects vs Tables 2m
- Associations 1m
- Associations: has_many 1m
- Associations: belongs_to 1m
- Associations: has_one 1m
- Associations: has_and_belongs_to_many 1m
- Associations: has_many :through 1m
- Demo: Associations 11m
- Callbacks 1m
- Demo: Callbacks 1m
- ActiveRecord Query Overview 1m
- Retrieving Data 1m
- Conditions 2m
- Ordering 1m
- Custom Selects and Count 1m
- Grouping 1m
- Paging 1m
- Joins 1m
- Find by SQL 1m
- Demo: Queries 12m
- Rails 4 ActiveRecord Changes 3m
- Demo: Rails 4 2m
- Summary 1m