Ruby on Rails aims to make building web applications simpler. In Ruby on Rails Essential Training, expert instructor Kevin Skoglund focuses on the same goal. Kevin explains the complete process--from understanding the fundamental concepts behind any Ruby on Rails project to creating full-featured, easy-to-maintain applications using the Ruby on Rails framework. Using the practical project of building an online store as an example, Skoglund teaches the basics of the Ruby language. He also covers how to design an application, how to build dynamic interfaces, how to structure and interact with databases, how to create a working shopping cart, and how to regulate user access with passwords. We thank our colleagues at The Pragmatic Programmers, L.L.C., for permission to adapt certain code from their book Agile Web Development with Rails for use in this tutorial. Exercise files accompany the tutorials.
Introduction | 3:21 | 4.4 MB |
How to use the exercise files | 2:01 | 2.6 MB |
What is Ruby on Rails? | 2:18 | 1.8 MB |
What is Rails? | 2:44 | 2 MB |
DRY, conventions, and sensible defaults | 3:34 | 2.4 MB |
MVC architecture | 4:43 | 3.3 MB |
Installation overview | 7:03 | 8.7 MB |
Installing Ruby and RubyGems | 20:05 | 40.7 MB |
Installing Rails | 3:26 | 4.9 MB |
Installing MySQL | 10:13 | 17.3 MB |
TextMate | 4:42 | 7.4 MB |
Webserver | 2:14 | 4.1 MB |
Creating a work folder and a Rails project | 6:50 | 9.5 MB |
Creating a controller and an action | 8:22 | 11.5 MB |
Creating a view | 5:35 | 6.3 MB |
Understanding the operation trail | 4:22 | 4 MB |
Getting familiar with the file structure | 5:12 | 7.2 MB |
How server requests are handled | 10:02 | 16.8 MB |
A quick dip in the database pool | 2:24 | 1.6 MB |
Creating a database and a database table | 9:21 | 13.3 MB |
Configuring a Rails application to connect | 7:27 | 11.9 MB |
Scaffold: Magic CRUD | 9:22 | 11.4 MB |
RHTML: Adding dynamic content to the view | 8:59 | 10.5 MB |
Variables in Ruby | 7:08 | 6.8 MB |
Getting the controller to interact with the view | 4:40 | 6.9 MB |
Calling controller actions from other actions | 6:27 | 6.8 MB |
Linking to other actions from the view | 8:41 | 9.2 MB |
Rendering an action | 11:51 | 13.3 MB |
Redirecting an action | 7:52 | 7.9 MB |
Public vs. private actions | 7:15 | 8.5 MB |
Review and introduction | 2:30 | 2.9 MB |
String basics | 11:16 | 12.9 MB |
Double-quoted strings | 5:45 | 8.5 MB |
Numbers | 11:26 | 13.1 MB |
Introduction to arrays | 7:11 | 7 MB |
Manipulating arrays | 9:29 | 11.8 MB |
Ranges | 4:47 | 5.4 MB |
Hashes | 11:53 | 12.7 MB |
Control flow: Logical expressions | 10:08 | 10.7 MB |
Control flow: Loops and blocks | 5:18 | 5.6 MB |
Control flow: Iterators | 8:37 | 10 MB |
Commenting your code | 4:22 | 5.9 MB |
Errors and logs | 6:38 | 13.3 MB |
Seeing what went wrong | 6:42 | 8.1 MB |
Breaking problems into pieces | 1:28 | 1 MB |
Creating a model | 3:46 | 4.6 MB |
Accessing your model | 5:52 | 6.2 MB |
Adding model attributes | 6:28 | 8.3 MB |
Understanding instances | 8:04 | 7.9 MB |
Manipulating instances | 5:53 | 5.9 MB |
Setting default values with Initialize | 3:42 | 4.4 MB |
Creating inheritance | 6:20 | 7.4 MB |
Using inheritance | 6:54 | 8.3 MB |
Basic model interaction | 8:27 | 9.4 MB |
Advanced model interaction | 11:26 | 13.8 MB |
Judicious model use | 2:27 | 1.6 MB |
Setting up for this chapter | 1:30 | 2.7 MB |
Switching back to our database | 3:56 | 5.5 MB |
Basic SQL syntax | 4:20 | 3.1 MB |
Using SQL syntax | 5:31 | 8.5 MB |
Finding records in Rails | 8:27 | 10.4 MB |
Using conditions to find specific records | 7:37 | 7.8 MB |
Ordering found records | 2:19 | 3 MB |
Limiting found records | 2:46 | 3.6 MB |
Finding a single record | 7:48 | 10.8 MB |
Using parameters to find records | 5:10 | 6.7 MB |
Creating and saving records | 5:29 | 7.6 MB |
Submitting forms to the database | 11:17 | 16.8 MB |
Updating records | 6:05 | 8.9 MB |
Deleting records | 3:46 | 4.7 MB |
Validating database data | 8:21 | 10.3 MB |
Blueprinting your application | 6:44 | 4.8 MB |
Preparing databases | 7:34 | 9 MB |
Relating databases: One-to-many | 4:07 | 3.2 MB |
Creating a relationship | 9:10 | 14.2 MB |
Generating your own scaffold | 2:58 | 5 MB |
The Flash hash | 4:30 | 6.4 MB |
Partials | 2:26 | 4.3 MB |
CRUD and relational databases | 12:43 | 19 MB |
Relating databases: Many-to-many (simple) | 4:26 | 3.6 MB |
Creating a simple join table | 15:13 | 22.6 MB |
Relating databases: Many-to-many (rich) | 3:16 | 2.8 MB |
Creating a rich join table | 3:57 | 5.7 MB |
Building the admin area | 7:23 | 8.1 MB |
Finishing the admin area | 5:14 | 7.9 MB |
Designing the public area | 6:54 | 10 MB |
Adding images | 2:51 | 4.7 MB |
Cycle and zebra-striping | 2:29 | 3.6 MB |
Formatting dates and times | 4:26 | 7 MB |
Helpers: Built-in and custom | 4:41 | 8.7 MB |
Building a shopping cart | 10:03 | 10.8 MB |
Cookies and sessions | 7:14 | 9.5 MB |
Creating a ''before'' filter | 2:24 | 3.2 MB |
Adding items to the cart | 6:06 | 9.8 MB |
Emptying the cart | 3:41 | 6.4 MB |
Layouts | 5:10 | 7.3 MB |
Sending values to layouts | 3:58 | 5.3 MB |
Building a checkout form | 2:32 | 2.9 MB |
Handling payments | 6:40 | 9.9 MB |
Using stylesheets | 4:20 | 7.3 MB |
Setting up encrypted passwords | 6:44 | 8.6 MB |
Logging in users | 3:30 | 5.2 MB |
Regulating user access | 6:37 | 10.9 MB |
Deploying your application | 3:17 | 5 MB |
Goodbye | 0:49 | 1.1 MB |