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
    2. About The Author
    3. Brief History Of Rails
    4. The Purpose Of Using Rails
    5. Model View Controller Paradigm
    6. Installing Rails Using Nitrous
    7. Installing Rails Using The Rails Installer
  2. Brief Tour
    1. Brief Walkthrough Of A Small Working Rails App
    2. Code Organization In Rails - What Directions Do What?
    3. Model Elements Of The Blog App
    4. More On Model Elements Of The Blog App
    5. Controller And View Elements Of The Blog App
  3. Ruby On Rails
    1. Brief Tour Of Ruby Syntax And How To Run Ruby Code
    2. Objects And Classes - Part 1
    3. Objects And Classes - Part 2
    4. The Self Keyword
    5. Objects And Classes - Exercise Review
    6. Strings In Ruby
    7. Numerics In Ruby
    8. String And Numerics - Exercise Review
    9. Arrays In Ruby
    10. Hashes In Ruby
    11. Control Structures
    12. Iterating Over Collections
    13. Array And Hash - Exercise Review
    14. Blocks
    15. Iterators And Blocks - Exercise Review
  4. Domain Modelling
    1. Creating A Rails App
    2. Modelling Domains
    3. Creating Models
    4. More On Creating Models - Finishing The Migrations
    5. Associations
    6. The Rails Console
    7. Many-To-Many Associations
    8. Many-To-Many Associations - Testing Via The Console
    9. Rails Console - Adding Data
    10. Fixtures
    11. Migrations - Changing A Field
    12. Fixtures - Exercise Review
    13. AR Query Interface
    14. Scopes
    15. Validations
    16. Validations - Exercise Review
  5. Controllers
    1. Action Controller Overview
    2. Routing And The Params Hash
    3. Getting Values From The Model In Controller Actions
    4. Generating Controllers - Exercise Review
    5. Adding To Our Controllers And Routes
    6. Adding A Slug Route For Projects
  6. Views
    1. Action View Overview
    2. Setting The Global Layout
    3. Adding A Nav - Using View Helpers
    4. Asset Pipeline Overview - Adding Some Javascript
    5. Styling The Global Template - Turbolinks
    6. Layouts And Rendering - How Does Rails Choose A Template?
    7. Looping Over Collections In Views
    8. Adding A To_S Method To Models
    9. Looping Over Collections - Exercise Review
    10. Displaying Related Items In The Show View
    11. Partials And Content_For
    12. Partials For Re-Used Content
    13. Partials For Re-Used Content - Exercise Review
  7. Forms
    1. Forms Overview
    2. A Create Form For Companies
    3. Form Helper Methods And Styling The Forms
    4. A Create Form For Works
    5. A Create Form For Projects - Exercise Review
    6. Saving The New Object - The Create Action
    7. The Create Action For Works
    8. The Create Action For Projects - Exercise Review
    9. Validation And Forms
    10. Validation For Works
    11. Validation For Projects - Exercise Review
    12. Writing An Edit Form
    13. An Edit Form For Works With Refactoring
    14. Writing An Edit Form - Exercise Review
    15. Forms And Ajax
  8. Authentication
    1. Authentication Packages In Rails Filters
    2. Installing Devise
    3. Using Devise
  9. Mailers
    1. Mailers Overview
    2. Creating And Invoking A Mailer
    3. Mailer - Exercise Review
  10. Files And Exporting
    1. Uploading Files To The Server
    2. Files - Exercise Review
    3. Exporting Content To CSV
    4. CSV Exporting - Exercise Review
  11. Testing
    1. Testing Rails Apps
    2. Using Fixtures
    3. Writing Tests - Model Tests
    4. Writing Tests - Controller Tests
  12. Refactoring And Final Exercises
    1. Making Our App Better - Refactoring
    2. Updating Associations For Maintainability
    3. Extended Exercise
    4. Extended Exercise Review - Part 1
    5. Extended Exercise Review - Part 2
  13. Conclusion
    1. Tips On How To Tackle A Rails App You Inherited
    2. Where To Find More Information
    3. Wrap-Up

Product information

  • Title: Learning Ruby On Rails
  • Author(s):
  • Release date: February 2014
  • Publisher(s): Infinite Skills
  • ISBN: 9781771372107