O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learning Ruby On Rails

Video Description

In this Ruby on Rails training course, expert author Brian Hoke will take you through the key features of this open-source web development framework while leading you through the development of a time-tracking web application. This course is designed for users that already have a working knowledge of the Ruby programming language.
You will start with a tour of Ruby Syntax and how to run Ruby code, learning about objects and classes, strings and numerics, and control structures in Ruby. You will then begin to create a Rails app, covering topics such as domain modeling, controllers, views, creating forms, and authentication. This video tutorial will also teach you how to use Ajax with Rails, handle file uploads, send emails from the server, and export content to CSV, JSON, and XML. Finally, you will learn how to test Rail apps and write model and controller tests.
By the completion of this computer based training course, you will be fully capable of creating a web app from start to finish with Ruby on Rails. Working files are included, allowing you to follow along with the author throughout the lessons.

Table of Contents

  1. Introduction
    1. What We Will Cover 00:02:42
    2. About The Author 00:02:07
    3. Brief History Of Rails 00:02:16
    4. The Purpose Of Using Rails 00:05:40
    5. Model View Controller Paradigm 00:05:47
    6. Installing Rails Using Nitrous 00:03:00
    7. Installing Rails Using The Rails Installer 00:01:47
    8. How To Access Your Working Files 00:01:15
  2. Brief Tour
    1. Brief Walkthrough Of A Small Working Rails App 00:02:33
    2. Code Organization In Rails - What Directions Do What? 00:06:16
    3. Model Elements Of The Blog App 00:03:55
    4. More On Model Elements Of The Blog App 00:04:27
    5. Controller And View Elements Of The Blog App 00:06:16
  3. Ruby On Rails
    1. Brief Tour Of Ruby Syntax And How To Run Ruby Code 00:05:20
    2. Objects And Classes - Part 1 00:06:34
    3. Objects And Classes - Part 2 00:08:47
    4. The Self Keyword 00:05:41
    5. Objects And Classes - Exercise Review 00:03:34
    6. Strings In Ruby 00:08:02
    7. Numerics In Ruby 00:05:05
    8. String And Numerics - Exercise Review 00:04:46
    9. Arrays In Ruby 00:06:29
    10. Hashes In Ruby 00:07:08
    11. Control Structures 00:04:42
    12. Iterating Over Collections 00:06:47
    13. Array And Hash - Exercise Review 00:05:16
    14. Blocks 00:07:43
    15. Iterators And Blocks - Exercise Review 00:04:40
  4. Domain Modelling
    1. Creating A Rails App 00:03:35
    2. Modelling Domains 00:03:44
    3. Creating Models 00:04:50
    4. More On Creating Models - Finishing The Migrations 00:05:24
    5. Associations 00:06:10
    6. The Rails Console 00:04:21
    7. Many-To-Many Associations 00:04:57
    8. Many-To-Many Associations - Testing Via The Console 00:05:08
    9. Rails Console - Adding Data 00:06:12
    10. Fixtures 00:05:21
    11. Migrations - Changing A Field 00:03:06
    12. Fixtures - Exercise Review 00:04:56
    13. AR Query Interface 00:05:48
    14. Scopes 00:03:41
    15. Validations 00:04:30
    16. Validations - Exercise Review 00:06:55
  5. Controllers
    1. Action Controller Overview 00:06:29
    2. Routing And The Params Hash 00:06:56
    3. Getting Values From The Model In Controller Actions 00:05:43
    4. Generating Controllers - Exercise Review 00:05:37
    5. Adding To Our Controllers And Routes 00:07:45
    6. Adding A Slug Route For Projects 00:06:37
  6. Views
    1. Action View Overview 00:03:34
    2. Setting The Global Layout 00:05:37
    3. Adding A Nav - Using View Helpers 00:05:23
    4. Asset Pipeline Overview - Adding Some Javascript 00:06:19
    5. Styling The Global Template - Turbolinks 00:03:56
    6. Layouts And Rendering - How Does Rails Choose A Template? 00:05:01
    7. Looping Over Collections In Views 00:04:16
    8. Adding A To_S Method To Models 00:03:04
    9. Looping Over Collections - Exercise Review 00:04:04
    10. Displaying Related Items In The Show View 00:02:18
    11. Partials And Content_For 00:06:16
    12. Partials For Re-Used Content 00:03:45
    13. Partials For Re-Used Content - Exercise Review 00:03:58
  7. Forms
    1. Forms Overview 00:07:45
    2. A Create Form For Companies 00:04:37
    3. Form Helper Methods And Styling The Forms 00:05:10
    4. A Create Form For Works 00:07:40
    5. A Create Form For Projects - Exercise Review 00:03:20
    6. Saving The New Object - The Create Action 00:06:30
    7. The Create Action For Works 00:04:17
    8. The Create Action For Projects - Exercise Review 00:05:16
    9. Validation And Forms 00:05:35
    10. Validation For Works 00:04:24
    11. Validation For Projects - Exercise Review 00:03:56
    12. Writing An Edit Form 00:05:41
    13. An Edit Form For Works With Refactoring 00:04:26
    14. Writing An Edit Form - Exercise Review 00:03:12
    15. Forms And Ajax 00:06:40
  8. Authentication
    1. Authentication Packages In Rails Filters 00:02:24
    2. Installing Devise 00:05:20
    3. Using Devise 00:05:12
  9. Mailers
    1. Mailers Overview 00:03:11
    2. Creating And Invoking A Mailer 00:05:36
    3. Mailer - Exercise Review 00:05:26
  10. Files And Exporting
    1. Uploading Files To The Server 00:04:15
    2. Files - Exercise Review 00:04:22
    3. Exporting Content To CSV 00:07:22
    4. CSV Exporting - Exercise Review 00:06:02
  11. Testing
    1. Testing Rails Apps 00:02:52
    2. Using Fixtures 00:05:36
    3. Writing Tests - Model Tests 00:04:48
    4. Writing Tests - Controller Tests 00:05:42
  12. Refactoring And Final Exercises
    1. Making Our App Better - Refactoring 00:05:44
    2. Updating Associations For Maintainability 00:05:38
    3. Extended Exercise 00:05:20
    4. Extended Exercise Review - Part 1 00:05:30
    5. Extended Exercise Review - Part 2 00:03:25
  13. Conclusion
    1. Tips On How To Tackle A Rails App You Inherited 00:03:19
    2. Where To Find More Information 00:03:56
    3. Wrap-Up 00:00:42