close menu
Bookswagon-24x7 online bookstore
close menu
My Account
Ruby on Rails Tutorial: Learn Web Development with Rails

Ruby on Rails Tutorial: Learn Web Development with Rails

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

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 Rails™ 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

"Ruby on Rails™ Tutorial by Michael Hartl has become a must-read for developers learning how to build Rails apps."
--Peter Cooper, Editor of Ruby Inside

Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.



Table of Contents:

Foreword xvii
Preface xix
Acknowledgments xxv
About the Author xxvii

Chapter 1: From Zero to Deploy 1
1.1 Up and Running 5
1.2 The First Application 14
1.3 Version Control with Git 35
1.4 Deploying 52
1.5 Conclusion 61
1.6 Conventions Used in This Book 62

Chapter 2: A Toy App 65
2.1 Planning the Application 66
2.2 The Users Resource 71
2.3 The Microposts Resource 87
2.4 Conclusion 104

Chapter 3: Mostly Static Pages 107
3.1 Sample App Setup 107
3.2 Static Pages 115
3.3 Getting Started with Testing 126
3.4 Slightly Dynamic Pages 135
3.5 Conclusion 152
3.6 Advanced Testing Setup 153

Chapter 4: Rails-Flavored Ruby 159
4.1 Motivation 159
4.2 Strings and Methods 165
4.3 Other Data Structures 177
4.4 Ruby Classes 192
4.5 Conclusion 204

Chapter 5: Filling in the Layout 207
5.1 Adding Some Structure 207
5.2 Sass and the Asset Pipeline 232
5.3 Layout Links 242
5.4 User Signup: A First Step 255
5.5 Conclusion 260

Chapter 6: Modeling Users 263
6.1 User Model 264
6.2 User Validations 279
6.3 Adding a Secure Password 303
6.4 Conclusion 313

Chapter 7: Sign Up 315
7.1 Showing Users 316
7.2 Signup Form 337
7.3 Unsuccessful Signups 346
7.4 Successful Signups 361
7.5 Professional-Grade Deployment 374
7.6 Conclusion 380

Chapter 8: Basic Login 381
8.1 Sessions 381
8.2 Logging In 398
8.3 Logging Out 437
8.4 Conclusion 443

Chapter 9: Advanced Login 445
9.1 Remember Me 445
9.2 "Remember Me" Checkbox 470
9.3 Remember Tests 476
9.4 Conclusion 489

Chapter 10: Updating, Showing, and Deleting Users 493
10.1 Updating Users 493
10.2 Authorization 509
10.3 Showing All Users 526
10.4 Deleting Users 544
10.5 Conclusion 556

Chapter 11: Account Activation 559
11.1 Account Activations Resource 560
11.2 Account Activation Emails 568
11.3 Activating the Account 585
11.4 Email in Production 610
11.5 Conclusion 619

Chapter 12: Password Reset 621
12.1 Password Resets Resource 623
12.2 Password Reset Emails 634
12.3 Resetting the Password 641
12.4 Email in Production (Take 2) 658
12.5 Conclusion 659
12.6 Proof of Expiration Comparison 661

Chapter 13: User Microposts 663
13.1 A Micropost Model 663
13.2 Showing Microposts 679
13.3 Manipulating Microposts 693
13.4 Micropost Images 726
13.5 Conclusion 752

Chapter 14: Following Users 755
14.1 The Relationship Model 756
14.2 A Web Interface for Following Users 774
14.3 The Status Feed 805
14.4 Conclusion 821

Index 825


Best Seller

| | See All


Product Details
  • ISBN-13: 9780138049973
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Language: English
  • Sub Title: Learn Web Development with Rails
  • ISBN-10: 0138049971
  • Publisher Date: 28 Nov 2022
  • Binding: Digital download
  • No of Pages: 896


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Ruby on Rails Tutorial: Learn Web Development with Rails
Pearson Education (US) -
Ruby on Rails Tutorial: Learn Web Development with Rails
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Ruby on Rails Tutorial: Learn Web Development with Rails

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    | | See All


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA