Genre: Web Development, Ruby On Rails | Language: English
Course 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
01. Introduction
What We Will Cover About The Author Brief History Of Rails The Purpose Of Using Rails Model View Controller Paradigm Installing Rails Using Nitrous Installing Rails Using The Rails Installer How To Access Your Working Files
02. Brief Tour
Brief Walkthrough Of A Small Working Rails App Code Organization In Rails – What Directions Do What? Model Elements Of The Blog App More On Model Elements Of The Blog App Controller And View Elements Of The Blog App
03. Ruby On Rails
Brief Tour Of Ruby Syntax And How To Run Ruby Code Objects And Classes – Part 1 Objects And Classes – Part 2 The Self Keyword Objects And Classes – Exercise Review Strings In Ruby Numerics In Ruby String And Numerics – Exercise Review Arrays In Ruby Hashes In Ruby Control Structures Iterating Over Collections Array And Hash – Exercise Review Blocks Iterators And Blocks – Exercise Review
04. Domain Modelling
0401 Creating A Rails App 0402 Modelling Domains 0403 Creating Models 0404 More On Creating Models – Finishing The Migrations 0405 Associations 0406 The Rails Console 0407 Many-To-Many Associations 0408 Many-To-Many Associations – Testing Via The Console 0409 Rails Console – Adding Data 0410 Fixtures 0411 Migrations – Changing A Field 0412 Fixtures – Exercise Review 0413 AR Query Interface 0414 Scopes 0415 Validations 0416 Validations – Exercise Review
05. Controllers
0501 Action Controller Overview 0502 Routing And The Params Hash 0503 Getting Values From The Model In Controller Actions 0504 Generating Controllers – Exercise Review 0505 Adding To Our Controllers And Routes 0506 Adding A Slug Route For Projects
06. Views
0601 Action View Overview 0602 Setting The Global Layout 0603 Adding A Nav – Using View Helpers 0604 Asset Pipeline Overview – Adding Some Javascript 0605 Styling The Global Template – Turbolinks 0606 Layouts And Rendering – How Does Rails Choose A Template? 0607 Looping Over Collections In Views 0608 Adding A To_S Method To Models 0609 Looping Over Collections – Exercise Review 0610 Displaying Related Items In The Show View 0611 Partials And Content_For 0612 Partials For Re-Used Content 0613 Partials For Re-Used Content – Exercise Review
07. Forms
0701 Forms Overview 0702 A Create Form For Companies 0703 Form Helper Methods And Styling The Forms 0704 A Create Form For Works 0705 A Create Form For Projects – Exercise Review 0706 Saving The New Object – The Create Action 0707 The Create Action For Works 0708 The Create Action For Projects – Exercise Review 0709 Validation And Forms 0710 Validation For Works 0711 Validation For Projects – Exercise Review 0712 Writing An Edit Form 0713 An Edit Form For Works With Refactoring 0714 Writing An Edit Form – Exercise Review 0715 Forms And Ajax
08. Authentication
0801 Authentication Packages In Rails Filters 0802 Installing Devise 0803 Using Devise
09. Mailers
0901 Mailers Overview 0902 Creating And Invoking A Mailer 0903 Mailer – Exercise Review
10. Files And Exporting
1001 Uploading Files To The Server 1002 Files – Exercise Review 1003 Exporting Content To CSV 1004 CSV Exporting – Exercise Review
11. Testing
1101 Testing Rails Apps 1102 Using Fixtures 1103 Writing Tests – Model Tests 1104 Writing Tests – Controller Tests
12. Refactoring And Final Exercises
1201 Making Our App Better – Refactoring 1202 Updating Associations For Maintainability 1203 Extended Exercise 1204 Extended Exercise Review – Part 1 1205 Extended Exercise Review – Part 2
13. Conclusion
1301 Tips On How To Tackle A Rails App You Inherited 1302 Where To Find More Information 1303 Wrap-Up