New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Start learning with our library of video tutorials taught by experts. Get started

Ruby on Rails Essential Training (2007)
Illustration by Bruce Heavin

Ruby on Rails Essential Training (2007)

with Kevin Skoglund

Video: Introduction

Welcome to {italic}Ruby on Rails{plain} Essential Training. My name is Kevin Skoglund. I run a web development company called Pixel & Press, and I'm also the lead web developer for the Flashforward Conference, which is produced by lynda.com. I develop primarily in {italic}Ruby on Rails, {plain}but I also develop websites and web applications in HTML, PHP, and ASP. {italic}Ruby on Rails,{plain} which I'll often refer to throughout this title as simply {italic}Rails,{plain} is certainly my favorite, and my preferred language, and I try to use it for every project that I can. I'm really excited to be teaching {italic}Ruby on Rails {plain} because I believe that {italic}Rails{plain} is transforming the way that we develop for the web. Websites that have been created in {italic}Rails{plain} are created faster with less code headaches and less bugs, and you end up with a slicker, more flexible web application. Because there are a lot of developers like me, and are excited about {italic}Ruby on Rails, {plain}it's gotten a lot of attention over the last year.
Expand all | Collapse all
  1. 5m 22s
    1. Introduction
      3m 21s
    2. How to use the exercise files
      2m 1s
  2. 13m 19s
    1. What is Ruby on Rails?
      2m 18s
    2. What is Rails?
      2m 44s
    3. DRY, conventions, and sensible defaults
      3m 34s
    4. MVC architecture
      4m 43s
  3. 47m 43s
    1. Installation overview
      7m 3s
    2. Installing Ruby and RubyGems
      20m 5s
    3. Installing Rails
      3m 26s
    4. Installing MySQL
      10m 13s
    5. TextMate
      4m 42s
    6. Webserver
      2m 14s
  4. 20m 47s
    1. Creating a work folder and a Rails project
      6m 50s
    2. Creating a controller and an action
      8m 22s
    3. Creating a view
      5m 35s
  5. 19m 36s
    1. Understanding the operation trail
      4m 22s
    2. Getting familiar with the file structure
      5m 12s
    3. How server requests are handled
      10m 2s
  6. 28m 34s
    1. A quick dip in the database pool
      2m 24s
    2. Creating a database and a database table
      9m 21s
    3. Configuring a Rails application to connect
      7m 27s
    4. Scaffold: Magic CRUD
      9m 22s
  7. 1h 2m
    1. RHTML: Adding dynamic content to the view
      8m 59s
    2. Variables in Ruby
      7m 8s
    3. Getting the controller to interact with the view
      4m 40s
    4. Calling controller actions from other actions
      6m 27s
    5. Linking to other actions from the view
      8m 41s
    6. Rendering an action
      11m 51s
    7. Redirecting an action
      7m 52s
    8. Public vs. private actions
      7m 15s
  8. 1h 28m
    1. Review and introduction
      2m 30s
    2. String basics
      11m 16s
    3. Double-quoted strings
      5m 45s
    4. Numbers
      11m 26s
    5. Introduction to arrays
      7m 11s
    6. Manipulating arrays
      9m 29s
    7. Ranges
      4m 47s
    8. Hashes
      11m 53s
    9. Control flow: Logical expressions
      10m 8s
    10. Control flow: Loops and blocks
      5m 18s
    11. Control flow: Iterators
      8m 37s
  9. 19m 10s
    1. Commenting your code
      4m 22s
    2. Errors and logs
      6m 38s
    3. Seeing what went wrong
      6m 42s
    4. Breaking problems into pieces
      1m 28s
  10. 1h 9m
    1. Creating a model
      3m 46s
    2. Accessing your model
      5m 52s
    3. Adding model attributes
      6m 28s
    4. Understanding instances
      8m 4s
    5. Manipulating instances
      5m 53s
    6. Setting default values with Initialize
      3m 42s
    7. Creating inheritance
      6m 20s
    8. Using inheritance
      6m 54s
    9. Basic model interaction
      8m 27s
    10. Advanced model interaction
      11m 26s
    11. Judicious model use
      2m 27s
  11. 1h 24m
    1. Setting up for this chapter
      1m 30s
    2. Switching back to our database
      3m 56s
    3. Basic SQL syntax
      4m 20s
    4. Using SQL syntax
      5m 31s
    5. Finding records in Rails
      8m 27s
    6. Using conditions to find specific records
      7m 37s
    7. Ordering found records
      2m 19s
    8. Limiting found records
      2m 46s
    9. Finding a single record
      7m 48s
    10. Using parameters to find records
      5m 10s
    11. Creating and saving records
      5m 29s
    12. Submitting forms to the database
      11m 17s
    13. Updating records
      6m 5s
    14. Deleting records
      3m 46s
    15. Validating database data
      8m 21s
  12. 1h 17m
    1. Blueprinting your application
      6m 44s
    2. Preparing databases
      7m 34s
    3. Relating databases: One-to-many
      4m 7s
    4. Creating a relationship
      9m 10s
    5. Generating your own scaffold
      2m 58s
    6. The Flash hash
      4m 30s
    7. Partials
      2m 26s
    8. CRUD and relational databases
      12m 43s
    9. Relating databases: Many-to-many (simple)
      4m 26s
    10. Creating a simple join table
      15m 13s
    11. Relating databases: Many-to-many (rich)
      3m 16s
    12. Creating a rich join table
      3m 57s
  13. 33m 58s
    1. Building the admin area
      7m 23s
    2. Finishing the admin area
      5m 14s
    3. Designing the public area
      6m 54s
    4. Adding images
      2m 51s
    5. Cycle and zebra-striping
      2m 29s
    6. Formatting dates and times
      4m 26s
    7. Helpers: Built-in and custom
      4m 41s
  14. 29m 28s
    1. Building a shopping cart
      10m 3s
    2. Cookies and sessions
      7m 14s
    3. Creating a ''before'' filter
      2m 24s
    4. Adding items to the cart
      6m 6s
    5. Emptying the cart
      3m 41s
  15. 22m 40s
    1. Layouts
      5m 10s
    2. Sending values to layouts
      3m 58s
    3. Building a checkout form
      2m 32s
    4. Handling payments
      6m 40s
    5. Using stylesheets
      4m 20s
  16. 16m 51s
    1. Setting up encrypted passwords
      6m 44s
    2. Logging in users
      3m 30s
    3. Regulating user access
      6m 37s
  17. 3m 17s
    1. Deploying your application
      3m 17s
  18. 49s
    1. Goodbye
      49s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Ruby on Rails Essential Training (2007)
10h 43m Beginner Jan 12, 2007

Viewers: in countries Watching now:

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. Exercise files accompany the tutorials.

NOTE: Several key features of Rails have changed since the release of Ruby on Rails Essential Training in the lynda.com library. The following link details these changes: www.nullislove.com.

Subjects:
Developer Web Servers Programming Languages Web Development
Software:
Ruby on Rails
Author:
Kevin Skoglund

Introduction

Welcome to {italic}Ruby on Rails{plain} Essential Training. My name is Kevin Skoglund. I run a web development company called Pixel & Press, and I'm also the lead web developer for the Flashforward Conference, which is produced by lynda.com. I develop primarily in {italic}Ruby on Rails, {plain}but I also develop websites and web applications in HTML, PHP, and ASP. {italic}Ruby on Rails,{plain} which I'll often refer to throughout this title as simply {italic}Rails,{plain} is certainly my favorite, and my preferred language, and I try to use it for every project that I can. I'm really excited to be teaching {italic}Ruby on Rails {plain} because I believe that {italic}Rails{plain} is transforming the way that we develop for the web. Websites that have been created in {italic}Rails{plain} are created faster with less code headaches and less bugs, and you end up with a slicker, more flexible web application. Because there are a lot of developers like me, and are excited about {italic}Ruby on Rails, {plain}it's gotten a lot of attention over the last year.

And, you may have heard some of the hype and the buzz that's swirling around the name. You may even be coming to this movie hoping not just to learn {italic}Rails,{plain} but to first find out what {italic}Rails{plain} is, and if it's even right for you. If you haven't seen {italic} Ruby on Rails{plain} in action yet, I would encourage you to go to the{italic} Rails{plain} website, and that's http://www.rubyonrails.org. And, you can follow the Get Excited link to watch some screen casts of {italic}Ruby on Rails{plain} in action. That should give you an introductory taste and get you excited to learn a lot more. To see more complex and full featured {italic}Rails{plain} applications being used in the real world, you can also take a look at some of the {italic}Rails{plain} apps that have already been deployed.

There are many, but one great example is {italic}ODEO.{plain} And, that's http://odeo.com, which is a web application that allows users to post and listen to podcasts and other audio. Another stop on your tour should definitely be {italic}Basecamp.{plain} And, that's http://www.basecamphq.com, which is project management software that's been written entirely in {italic}Ruby on Rails.{plain} In fact, {italic}Basecamp{plain} was created by 37signals, the same team that first developed the {italic}Rails {plain}framework. So, you know it's a great example of best practices in action. When I first got excited about learning{italic} Ruby on Rails, {plain}I went through a number of books and tutorials trying to soak up everything I could.

And, while a number of them were very good, and ultimately helped me to learn it, while I was going through them I kept having this nagging feeling that I was still missing something. I guess I felt that I was learning the right things to do to produce the right results, but somehow I still wasn't getting the bigger picture, or understanding why I was doing things the way the tutorial said I should. And, I was right. Because {italic}Rails{plain} does so much of the work for you, it's easy to overlook a lot of what's actually happening. And, it took many months before I finally felt like I had a grasp of how all the {italic}Rails{plain} parts interacted together. And, those were months where I had to be developing to make a living. This Essential Training tutorial is largely a response to the frustrations that I felt when I was first learning. In a real sense, this is the tutorial that I wish I had had. Instead of starting with an ambitious project, and saying, "Follow me, and we'll cover more of the details later," or instead of giving you a tour of the coolest features, I'm going to start you out with the big picture and the important concepts, and that way, we'll be able to keep coming back to that big picture, and those concepts in everything else we do. Then we'll walk through each aspect of the mechanics, so we'll know how all the {italic}Rails{plain} parts fit together. Each chapter's going to be a building block, and those blocks together are going to give us a complete understanding of the {italic}Rails{plain} framework.

And, after we have that framework down cold, we'll be ready to create our web applications faster, and with far more confidence than if we had just stumbled our way through it in the first place. Because the approach we're going to take to learning {italic} Ruby on Rails{plain} is block by block, you may want to use this tutorial in bite size chunks. You can learn a chunk, then go off on your own, and experiment with what you've just learned, and then, come back for the next chunk. I encourage you to experiment. My number one goal in this training title is for you to be able to do it for yourself. So, enough of the introduction. Let's get started learning {italic}Rails.{plain}

Find answers to the most frequently asked questions about Ruby on Rails Essential Training (2007).


Expand all | Collapse all
please wait ...
Q: Ruby on Rails 2.0 and above no longer support certain methods, such as using "scaffold" inside a controller. Is there a resource that details the changes in Ruby on Rails since the recording of the tutorials?
A: Details of the changed features can be found here:
http://www.nullislove.com/ruby-on-rails-changes-and-troubleshooting/
 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

join now Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Ruby on Rails Essential Training (2007).

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.