[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-681168-105":59,"doc-detail-681168-en":130,"doc-similar-681168":181},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","ruby-on-rails-tutorial-second-edition-learn-web-development-with-rails","Ruby on Rails Tutorial - Second Edition - Learn Web Development with Rails","","Praise and publication front matter for Michael Hartl’s Ruby on Rails Tutorial, Second Edition. Includes endorsements highlighting learning Rails by building a Rails app end-to-end with testing, and notes on accompanying video resources and best practices. Provides trademark and warranty statements, copyright and printing details, licensing information for source code under MIT and Beerware, bibliographic identifiers (ISBN), editor and production credits, and an opening contents outline listing forewords, acknowledgments, author information, and early chapters.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/ruby-on-rails-tutorial-second-edition-learn-web-development-with-rails/681168/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/ruby-on-rails-tutorial-second-edition-learn-web-development-with-rails/681168.png","ImageObject",300,407,{"name":92,"@type":93},"supergirl","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-29","2026-11-06",true,{"@type":102,"interactionType":103,"userInteractionCount":34},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What does the Ruby on Rails Tutorial (Second Edition) emphasize about learning Rails?","Question",{"text":112,"@type":113},"End-to-end Rails app construction from start to finish with testing, alongside clear walkthrough guidance aimed at making readers feel like Rails masters by the end.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How are the book’s source code licensing terms described?",{"text":117,"@type":113},"All source code is available under both the MIT License and the Beerware License.",{"name":119,"@type":110,"acceptedAnswer":120},"What information about the book’s production and publication is included?",{"text":121,"@type":113},"The front matter lists editor-in-chief, executive editor, managing editor, production management roles, and publishing details such as copyright, printing location, and ISBNs.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},681168,1793940560,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":34,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":44,"preview_urls":145},962088121634,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Praise for Michael Hartl’s Books and Videos  \non Ruby on RailsTM  \n‘‘My former company (CD Baby) was one of the ﬁrst to loudly switch to Ruby on Rails, and then even more loudly switch back to PHP (Google me to read about the drama). This book by Michael Hartl came so highly recommended that I had to try it, and the Ruby on RailsTM Tutorial is what I used to switch back to Rails again.’’  \n—From the Foreword by Derek Sivers ([sivers.org](sivers.org)) Formerly: Founder, CD Baby  \nCurrently: Founder, Thoughts Ltd.  \n‘‘Michael Hartl’s Rails Tutorial book is the \\#1 (and only, in my opinion) place to start when it comes to books about learning Rails. . . . It’s an amazing piece of work and, unusually, walks you through building a Rails app from start to ﬁnish with testing. If you want to read just one book and feel like a Rails master by the end of it, pick the Ruby on RailsTM Tutorial.’’  \n—Peter Cooper Editor, Ruby Inside  \n‘‘Grounded in the real world.’’  \n—I Programmer ([www.i-programmer.info](www.i-programmer.info)), by Ian Elliot  \n‘‘The book gives you the theory and practice, while the videos focus on showing you in person how its done. Highly recommended combo.’’  \n—Antonio Cangiano, Software Engineer, IBM  \n‘‘The author is clearly an expert at the Ruby language and the Rails framework, but more than that, he is a working software engineer who introduces best practices throughout the text.’’  \n—Greg Charles, Senior Software Developer, Fairway Technologies  \n‘‘Overall, these video tutorials should be a great resource for anyone new to Rails.’’  \n—Michael Morin, [ruby.about.com](ruby.about.com)  \n‘‘Hands-down, I would recommend this book to anyone wanting to get into Ruby on Rails development.’’  \n—Michael Crump, Microsoft MVP  \nRUBY ON RAILSTM TUTORIAL  \nSecond Edition  \nRUBY ON RAILSTM TUTORIAL  Learn Web Development with Rails  \nSecond Edition  \nMichael Hartl  \nUpper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City  \nMany of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals.  \nThe author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein.  \nThe publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include electronic versions and/or custom covers and content particular to your business, training goals, marketing focus, and branding interests. For more information, please contact:  \nU.S. Corporate and Government Sales  \n(800) 382-3419  \n[corpsales@pearsontechgroup.com](corpsales@pearsontechgroup.com)[ ](corpsales@pearsontechgroup.com)For sales outside the United States please contact:  \nInternational Sales  \n[international@pearson.com](international@pearson.com)[ ](international@pearson.com)Visit us on the Web: [informit.com/aw](informit.com/aw)  \nCataloging-in-Publication Data is on ﬁle with the Library of Congress.  \nCopyright © 2013 Michael Hartl  \nAll rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. To obtain permission to use material from this work, please submit a written request to Pearson Education, Inc., Permissions Department, One Lake Street, U","cbCail6KxUIqmzYo","https://ap.wps.com/l/cbCail6KxUIqmzYo","pdf",1068408,89,"English","# Foreword to the First Edition by Derek Sivers\n# Foreword to the First Edition by Obie Fernandez\n# Acknowledgments\n# About the Author\n# Chapter 1 From Zero to Deploy\n## Introduction\n## Up and Running\n## Version Control with Git\n## Deploying\n## Conclusion\n# Chapter 2 A Demo App\n## Planning the Application","[{\"question\":\"What does the Ruby on Rails Tutorial (Second Edition) emphasize about learning Rails?\",\"answer\":\"End-to-end Rails app construction from start to finish with testing, alongside clear walkthrough guidance aimed at making readers feel like Rails masters by the end.\"},{\"question\":\"How are the book’s source code licensing terms described?\",\"answer\":\"All source code is available under both the MIT License and the Beerware License.\"},{\"question\":\"What information about the book’s production and publication is included?\",\"answer\":\"The front matter lists editor-in-chief, executive editor, managing editor, production management roles, and publishing details such as copyright, printing location, and ISBNs.\"}]","Ruby on Rails Tutorial - Second Edition - Learn Web Development with Rails | PDF",224,[146,150,154,158,162,166,170,174,177],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/2a26d99f46b685a22143ff2063f21bcc.webp",983,1415,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/4b5bf2d9a98bb25988bffb9cf94eb98e.webp",982,1283,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/861ed37870b070eec2ec5811c7a8f6cd.webp",981,1281,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/fecd946fa0fe245b673f01260ce2b886.webp",980,1280,{"page_no":24,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/9f15929ca61d12fc12dfd37cb660922b.webp",979,1279,{"page_no":29,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/3d186bb8820b47988d090842a9f76db7.webp",978,1276,{"page_no":34,"url":171,"width":172,"height":173},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/f8a20813a796b6115b4708090e76422a.webp",977,1275,{"page_no":39,"url":175,"width":176,"height":173},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/972dadb1098de3b59ad491750545cbd1.webp",976,{"page_no":44,"url":178,"width":179,"height":180},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c966e6f68f65d85167bc47d73e3d1c06.webp",975,1274,{"list":182,"token":66},[183,189,195,201,207,213,219,225,231,237],{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":52,"category_name":30,"create_tm":188},514374,"The Official Ubuntu Book - Ninth Edition - About this book","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229937282983/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=qkU8h223dmaUneo56Q1VbPwPPMM%3D","the-official-ubuntu-book-ninth-edition-about-this-book",1791298961,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":81,"category_name":30,"create_tm":194},681161,"Ruby on Rails - For Dummies - A Reference for the Rest of Us","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998653543/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=Pz1s3%2BqoHUGEVavjUYnd3POpjMM%3D","ruby-on-rails-for-dummies-a-reference-for-the-rest-of-us",1793940545,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":19,"category_name":30,"create_tm":200},681160,"6.170 Tutorial 2 Rails Basics - Topic 0 Useful commands when developing rails applications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998653476/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=JBtr1W3Jv%2BrCRs%2FiHHx4VYnIsG0%3D","6170-tutorial-2-rails-basics-topic-0-useful-commands-when-developing-rails-applications",1793940543,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":19,"category_name":30,"create_tm":206},686351,"Linux - All-in-One Desk Reference for Dummies - 2nd Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000739189/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=eJxliLwDT2V%2FTpmr8Gw0cwW500Y%3D","linux-all-in-one-desk-reference-for-dummies-2nd-edition",1794037862,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":81,"category_name":30,"create_tm":212},681164,"SWT2_03_Ruby on Rails - Introduction to Ruby on Rails","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229997883762/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=JouO4cHcpM3XXUfX5DdldDxNYHg%3D","swt2_03_ruby-on-rails-introduction-to-ruby-on-rails",1793940553,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":29,"category_name":30,"create_tm":218},681163,"Learn Ruby on Rails For Web Development - Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998653527/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=uKK9%2Bgt5WECuMsi5cGVbOA3e5WA%3D","learn-ruby-on-rails-for-web-development-introduction",1793940547,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":24,"category_name":30,"create_tm":224},673339,"Learn Ruby on Rails: Book One - Version 4.0.0 - 25 November 2016","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990522753/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=fkgLDQ3zcv7XWkhu9S8NlYIDMyA%3D","learn-ruby-on-rails-book-one-version-400-25-november-2016",1793630696,{"doc_id":226,"doc_title":227,"file_type":137,"home_preview_img_url":228,"slug":229,"view_count":19,"category_name":30,"create_tm":230},681162,"Introduction to Ruby on Rails Development - Part 3 - Intro","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998653470/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=aymjjjVt2K1MtPYyDw1xpThbvLg%3D","introduction-to-ruby-on-rails-development-part-3-intro",1793940546,{"doc_id":232,"doc_title":233,"file_type":137,"home_preview_img_url":234,"slug":235,"view_count":14,"category_name":30,"create_tm":236},681325,"Calculus II - by Mark Zegarelli","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998307308/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=1MpGVAL9jNUqKdHQKlwLRMy36FI%3D","calculus-ii-by-mark-zegarelli",1793943926,{"doc_id":238,"doc_title":239,"file_type":137,"home_preview_img_url":240,"slug":241,"view_count":81,"category_name":30,"create_tm":242},673335,"THE BOOK OF RUBY - Introduction - Getting Started With Ruby - How to Read This Book","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990730323/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=XtzeWjSnuojJG6g8HMVAHWHYWRk%3D","the-book-of-ruby-introduction-getting-started-with-ruby-how-to-read-this-book",1793630685]