Book description
"Ruby on RailsTM Tutorial Tutorial by Michael Hartl has become a must-read for developers learning how to build Rails apps."
--Peter Cooper, Editor of Ruby Inside
Used by sites as varied as Hulu, GitHub, Shopify, and Airbnb, Ruby on Rails is one of the most popular frameworks for developing web applications, but it can be challenging to learn and use. Whether you're new to web development or new only to Rails, Ruby on RailsTM Tutorial, Seventh Edition, is the solution.
Best-selling author and leading Rails developer Michael Hartl teaches Rails by guiding you through the development of three example applications of increasing sophistication. The tutorial's examples focus on the general principles of web development needed for virtually any kind of website. The updates to this edition include full compatibility with Rails 7.
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. Whatever your previous web-development experience, this book will guide you to true Rails mastery.
This book will help you
Set up your Rails development environment
Record version changes with Git and create a secure remote repository at GitHub
Deploy your applications early and often with Heroku
Go beyond generated code to truly understand how to build Rails applications from scratch
Learn testing and test-driven development (TDD)
Effectively use the Model-View-Controller (MVC) pattern
Structure applications using the REST architecture
Build static pages and transform them into dynamic ones
Master the Ruby programming skills all Rails developers need
Create high-quality site layouts and data models
Implement registration and authentication systems, including validation and secure passwords
Update, display, and delete users
Upload and display images using Active Storage and Amazon S3
Implement account activation and password reset, including sending email with Rails
Integrate JavaScript with Rails using Importmap
Add social features and microblogging, including an introduction to Hotwire and Turbo
Table of contents
- Cover Page
- About This eBook
- Halftitle Page
- Title Page
- Copyright Page
- Contents
- Foreword
- Preface
- Acknowledgments
- About the Author
- Chapter 1. From Zero to Deploy
- Chapter 2. A Toy App
- Chapter 3. Mostly Static Pages
- Chapter 4. Rails-Flavored Ruby
- Chapter 5. Filling in the Layout
- Chapter 6. Modeling Users
- Chapter 7. Sign Up
- Chapter 8. Basic Login
- Chapter 9. Advanced Login
- Chapter 10. Updating, Showing, and Deleting Users
- Chapter 11. Account Activation
- Chapter 12. Password Reset
- Chapter 13. User Microposts
- Chapter 14. Following Users
- Index
- Credits
- Code Snippets
Product information
- Title: Ruby on Rails Tutorial: Learn Web Development with Rails, 7th Edition
- Author(s):
- Release date: November 2022
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780138050061
You might also like
video
Ruby on Rails Tutorial, 7th Edition
19+ Hours of Video Instruction The Ruby on Rails Tutorial™ LiveLessons, Seventh Edition, is the best-selling …
book
Ruby on Rails Tutorial, 6th Edition
“Ruby on Rails™ Tutorial by Michael Hartl has become a must-read for developers learning how to …
video
Ruby on Rails Tutorial, 6th Edition
20 Hours of Video Instruction is the best-selling complete video training course on web development with …
book
Modern Front-End Development for Rails, 2nd Edition
Improve the user experience for your Rails app with rich, engaging client-side interactions. Learn to use …