Home > Store

Ruby on Rails Tutorial LiveLessons, 7th Edition

Register your product to gain access to bonus material or receive a coupon.

Ruby on Rails Tutorial LiveLessons, 7th Edition

Online Video

Not for Sale

Description

  • Copyright 2023
  • Edition: 7th
  • Online Video
  • ISBN-10: 0-13-805040-6
  • ISBN-13: 978-0-13-805040-5

21+ Hours of Video Instruction

The Ruby on Rails TutorialTM LiveLessons, Seventh Edition, is the best-selling complete video training course on web development with Rails, the popular web framework for building dynamic, database-backed web applications. You learn Rails by example by building a substantial sample application from scratch.

Overview

Best-selling author and leading Rails developer Michael Hartl teaches Rails by guiding you through the development of three sample applications of increasing sophistication, focusing on the fundamental techniques in web development needed for virtually any kind of application. The updates to this edition include full compatibility with Rails 7 and numerous new exercises interspersed in each lesson for maximum reinforcement. This indispensable guide provides integrated tutorials not only for Rails, but also for the essential Ruby, HTML, CSS, and SQL skills you need when developing web applications. Hartl explains how each new technique solves a real-world problem, and then he demonstrates it with bite-sized code that's simple enough to understand while still being useful.

About the Instructor

Michael Hartl is the creator of the Ruby on Rails Tutorial, one of the leading introductions to web development, and is cofounder and principal author at Learn Enough. Previously, he was a physics instructor at the California Institute of Technology (Caltech), where he received a Lifetime Achievement Award for Excellence in Teaching. He is a graduate of Harvard College, has a PhD in Physics from Caltech, and is an alumnus of the Y Combinator entrepreneur program.

Skill Level

  • Beginner to intermediate

Learn How To

  • Install and set up your Rails development environment
  • Utilize the optional easy start using pre-installed IDE in the cloud
  • Build Rails applications from scratch
  • Test and use test-driven development (TDD)
  • Effectively use the model-view-controller (MVC) pattern
  • Structure applications using REST architecture
  • Build static pages and transform them into dynamic ones
  • Implement registration and authentication systems, including validation and secure passwords
  • Deploy your application

Who Should Take This Course

  • Developers looking for a practical introduction for building dynamic, database-backed web applications with Rails

Course Requirements

  • No formal prerequisites, but some background in developer tools (command line, text editor) and web technologies (HTML) is helpful
  • Some Ruby background is useful but not required

Lesson Descriptions

Lesson 1: From Zero to Deploy
The first lesson teaches you how to set up an integrated development in the cloud, create a first Rails application, and deploy it to production with Git and Heroku.

Lesson 2: A Toy App
In this lesson, you get up and running quickly with a toy application that demonstrates the basic workings of a Rails application with users and short posts. It includes a focus on interacting with the toy app through its URIs (often called URLs) using a web browser. You learn how to generate dynamic web pages using the MVC pattern and structure web applications using the REST architecture.

Lesson 3: Mostly Static Pages
This lesson focuses on developing the industrial-strength sample application that is used throughout the rest of the video. You begin by creating static pages and then move on to adding a little dynamic content. After writing all the code from scratch, you get your first taste of testing and test-driven development (TDD).

Lesson 4: Rails-Flavored Ruby
In this lesson, you learn the basics of Ruby, the programming language underlying Rails. The focus is on the aspects of Ruby most useful for Rails development, including strings, arrays, hashes, and Ruby classes.

Lesson 5: Filling in the Layout
This lesson incorporates Twitter's Bootstrap framework into the sample application, adds custom styles, and fills in the layout with links to the pages created so far. Topics covered include partials, Rails routes, the asset pipeline, Sass, and an introduction to end-to-end testing with integration tests.

Lesson 6: Modeling Users
This lesson demonstrates how to create a data model for the site's users and to persist user data using a database back-end. You learn how to implement data validations and add a secure password to allow login and authentication.

Lesson 7: Sign Up
The development of the sample app continues by giving users the capability to sign up for the site and create a user profile. You also learn how to make a signup form with error messages for invalid submission and implement successful user registration for valid submission.

Lesson 8: Basic Login
Now that new users can sign up for the site, it's time to give them the ability to log in and log out. In this lesson, you learn how to implement the simplest fully functional login model, which keeps users logged in for one session at a time, automatically expiring the sessions when users close their browsers.

Lesson 9: Advanced Login
In this lesson, you build on the login system from Lesson 8 to add the ability to remember the users' login status even after they close their browsers. You also learn how to automatically remember users, and then how to optionally remember them based on the value of a remember-me checkbox.

Lesson 10: Updating, Showing, and Deleting Users
In this lesson, we complete the REST actions for the Users resource by adding edit, update, index, and destroy actions. We also put the login system to good use by restricting certain actions to logged-in users or administrative users.

Lesson 11: Account Activation
In Lesson 10, you finished making a basic user resource together with the flexible authentication and authorization system. In this lesson and the next, you learn how to put the finishing touches on this system, starting with an account activation feature that verifies each new user's email address. This will involve creating a new resource, thereby giving you a chance to see further examples of controllers, routing, and database migrations. In the process, you also learn how to send email in Rails, both in development and in production.

Lesson 12: Password Reset
In this lesson, you learn how to give users the ability to reset their passwords if they forget them. The implementation closely parallels the account activations from Lesson 11, providing yet another example of creating a Rails resource from scratch, as well as a second example of sending email in production.

Lesson 13: User Microposts
This lesson demonstrates how to make a data model for short posts ("microposts"), make a page to show a list of microposts, and implement a web interface to create and delete microposts. You then learn how to upload images and associate them to microposts, including image resizing, format validations, and production deployment using a cloud storage service (Amazon Web Services S3).

Lesson 14: Following Users
The final lesson completes the core sample application by adding a social layer for users to follow and unfollow other users. You learn how to make a data model between users, give users the capability to follow each other through the web (including an introduction to Hotwire and Turbo), and create a status feed of the microposts from the users.

Gemfiles are available at https://gemfiles-7th-ed.railstutorial.org/
Code listings are available at https://github.com/learnenough/ruby_on_rails_tutorial_code_listings_7th_ed

About Pearson Video Training
Pearson publishes expert-led video tutorials covering a wide selection of technology topics designed to teach you the skills you need to succeed. These professional and personal technology videos feature world-leading author instructors published by your trusted technology brands: Addison-Wesley, Cisco Press, Pearson IT Certification, Sams, and Que Topics include: IT Certification, Network Security, Cisco Technology, Programming, Web Development, Mobile Development, and more. Learn more about Pearson Video training at http://www.informit.com/video.

Video Lessons are available for download for offline viewing within the streaming format. Look for the green arrow in each lesson.

Sample Content

Table of Contents

Introduction

Lesson 1: From Zero to Deploy
Topics
1.1 Up and running
1.2 The first application
1.3 Version control with Git
1.4 Deploying
1.5 Conclusion

Lesson 2: A Toy App
Topics
2.1 Planning the application
2.2 The Users resource
2.3 The Microposts resource
2.4 Conclusion

Lesson 3: Mostly Static Pages
Topics
3.1 Sample app setup
3.2 Static pages
3.3 Getting started with testing
3.4 Slightly dynamic pages
3.5 Conclusion
3.6 Advanced testing setup

Lesson 4: Rails-Flavored Ruby
Topics
4.1 Motivation
4.2 Strings and methods
4.3 Other data structures
4.4 Ruby classes
4.5 Conclusion

Lesson 5: Filling in the Layout
Topics
5.1 Adding some structure
5.2 Sass and the asset pipeline
5.3 Layout links
5.4 User signup: A first step
5.5 Conclusion

Lesson 6: Modeling Users
Topics
6.1 User model
6.2 User validations
6.3 Adding a secure password
6.4 Conclusion

Lesson 7: Sign Up
Topics
7.1 Showing users
7.2 Signup form
7.3 Unsuccessful signups
7.4 Successful signups
7.5 Professional-grade deployment
7.6 Conclusion

Lesson 8: Basic Login
Topics
8.1 Sessions
8.2 Loggin in
8.3 Loggin out
8.4 Conclusion

Lesson 9: Advanced Login
Topics
9.1 Remember me
9.2 "Remember me" checkbox
9.3 Remember tests
9.4 Conclusion

Lesson 10: Updating, Showing, and Deleting Users
Topics
10.1 Updating users
10.2 Authorization
10.3 Showing all users
10.4 Deleting users
10.5 Conclusion

Lesson 11: Account Activation
Topics
11.1 Account activations resource
11.2 Account activation emails
11.3 Activating the account
11.4 Email in production
11.5 Conclusion

Lesson 12: Password Reset
Topics
12.1 Password resets resource
12.2 Password reset emails
12.3 Resetting the password
12.4 Email in production (take 2)
12.5 Conclusion
12.6 Proof of expiration comparison

Lesson 13: User Microposts
Topics
13.1 A micropost model
13.2 Showing microposts
13.3 Manipulating microposts
13.4 Micropost images
13.5 Conclusion

Lesson 14: Following Users
Topics
14.1 The Relationship model
14.2 A web interface for following users
14.3 The status feed
14.4 Conclusion

Summary

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.