[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-681163-105":59,"doc-detail-681163-en":130,"doc-similar-681163":244},{"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","learn-ruby-on-rails-for-web-development-introduction","Learn Ruby on Rails For Web Development - Introduction","","Learn Ruby on Rails for web development guides readers through building a full Rails workflow, starting with what Ruby on Rails is and who the book is for. It walks through setting up development environments, installing and using Ruby and Rails versions, and using command-line tools. The learning continues with creating the first app, understanding MVC, configuring gems and routes, adding pages and controllers, and deploying to Heroku with version control via Git, GitHub, and Bitbucket.",{"@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/learn-ruby-on-rails-for-web-development-introduction/681163/",{"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/learn-ruby-on-rails-for-web-development-introduction/681163.png","ImageObject",300,407,{"name":92,"@type":93},"Adam","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-19","2026-11-06",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"Who is this book intended for?","Question",{"text":112,"@type":113},"The introduction includes a section titled “Who This Book Is For,” describing the intended audience for learning Ruby on Rails.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What topics are covered in Chapter One?",{"text":117,"@type":113},"Chapter One focuses on the development environment: installing and comparing local vs virtual setups, Rails and Ruby versions, command-line basics, and creating the first app with MVC and routing.",{"name":119,"@type":110,"acceptedAnswer":120},"How does the book help you deploy a Rails app?",{"text":121,"@type":113},"The table of contents includes guidance on hosting on Heroku, setting up Heroku, pushing code, and solving deployment problems with references like Google search and StackOverflow.","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},681163,1793940547,{"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":29,"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":145,"preview_urls":146},1374404737137,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Learn Ruby on Rails For Web Development  \nBy: John Elder [Codemy.com](Codemy.com)  \nLearn Ruby on Rails For Web Development  \nBy: John Elder  \n[Published By Codemy.com](Published By Codemy.com)  \nChicago, IL USA  \nISBN  \n978-0-692-36421-5  \nFirst Edition  \nCopyright © [John Elder and Codemy.com](John Elder and Codemy.com)[http://www.Codemy.com](http://www.Codemy.com)  \nTABLE OF CONTENTS  \nABOUT THE AUTHOR ................................................................................................. 7  \nINTRODUCTION ........................................................................................................... 8  \nWhat Is Ruby On Rails ........................................................................................ 9  \nWho This Book Is For .......................................................................................... 9  \nDo You Need to learn Ruby? ............................................................................. 10  \nWhat We’ll Be Making ........................................................................................ 10  \nFollow-Along Videos .......................................................................................... 11  \nConventions Used In The Book ......................................................................... 12  \nCHAPTER ONE ............................................................................................................... 14  \nDevelopment Environment ................................................................................ 14  \nInstalling Windows/Mac/Linux vs Virtual Environment .............................. 15  \nRails And Ruby Versions .................................................................................... 19  \nUnix Command Line Commands ..................................................................... 20  \nCreating Our First App (Virtual vs Mac/Linux) .............................................. 23  \nRails Server ........................................................................................................... 23  \nMVC Explained .................................................................................................... 26  \nGems And The Gemfile ....................................................................................... 27  \nAdding Pages To Your App ............................................................................... 31  \nCreating An Index Page ...................................................................................... 31  \nChanging Routes To Index Page ....................................................................... 36  \nGet vs Root ................................................................................................ 38  \nVersion Control With Github And Bitbucket .................................................. 38  \nInstalling Git ............................................................................................. 40  \nRolling Back Code .................................................................................... 42  \nUsing BitBucket ........................................................................................ 43  \nUsing Github ............................................................................................ 47  \nHosting Our App On Heroku ............................................................................ 50  \nSetting Up Heroku ................................................................................... 52  \nPushing Code To Heroku ....................................................................... 54  \nSolving Problems via Google Search ................................................................ 57  \nStackOverflow ...................................................................................................... 57  \n[Codemy.com ........................................................................................................ 58](Codemy.com ......................","cbCaigvBXf5wfqwh","https://ap.wps.com/l/cbCaigvBXf5wfqwh","pdf",3282124,214,"English","# About the Author\n# Introduction\n## What Is Ruby On Rails\n## Who This Book Is For\n# Chapter One\n## Development Environment\n## Installing Windows/Mac/Linux vs Virtual Environment\n# Chapter Two\n## Building Out Our Sample App\n## Adding More Pages\n# Chapter Three\n## Adding Bootstrap\n## Styling Things","[{\"question\":\"Who is this book intended for?\",\"answer\":\"The introduction includes a section titled “Who This Book Is For,” describing the intended audience for learning Ruby on Rails.\"},{\"question\":\"What topics are covered in Chapter One?\",\"answer\":\"Chapter One focuses on the development environment: installing and comparing local vs virtual setups, Rails and Ruby versions, command-line basics, and creating the first app with MVC and routing.\"},{\"question\":\"How does the book help you deploy a Rails app?\",\"answer\":\"The table of contents includes guidance on hosting on Heroku, setting up Heroku, pushing code, and solving deployment problems with references like Google search and StackOverflow.\"}]","Learn Ruby on Rails For Web Development - Introduction | PDF",539,22,[147,151,155,159,163,167,171,175,179,183,187,192,197,202,207,212,217,222,227,231,235,240],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/69e012208fc30479fe967211cd8733ae.webp",983,1212,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/74c5d725651b0153225b39f4d46da8cd.webp",982,1211,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/fcef187154b686961bb2a76da1767a0f.webp",981,1209,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/d4de51f5ce636854f96927809049105c.webp",980,1208,{"page_no":24,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/8f596bdf32558196de519db592e68208.webp",979,1207,{"page_no":29,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/1ead564cf04c360e7311c45820965beb.webp",978,1206,{"page_no":34,"url":172,"width":173,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/61a6443e7dde26325865cfd75dd72260.webp",977,1204,{"page_no":39,"url":176,"width":177,"height":178},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/2980f0e1a82f1f4eebfafe93f4c56a54.webp",976,1203,{"page_no":44,"url":180,"width":181,"height":182},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/45450db251dcf89bc7afc57ddcf9c742.webp",975,1202,{"page_no":52,"url":184,"width":185,"height":186},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/b699dfedeb8dbcdd438b1dfea37ab1d1.webp",974,1201,{"page_no":188,"url":189,"width":190,"height":191},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/2c05b0613983c1dfc3a4a296ff4ccd26.webp",973,1199,{"page_no":193,"url":194,"width":195,"height":196},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/18cee75c4c9a77e85a8fe91cfe9ff002.webp",972,1198,{"page_no":198,"url":199,"width":200,"height":201},13,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/91d6cf62e58d0ae9b4aef348e4284285.webp",971,1197,{"page_no":203,"url":204,"width":205,"height":206},14,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/58357d4e2c2c9c8d4f4b8a99a4a91938.webp",970,1196,{"page_no":208,"url":209,"width":210,"height":211},15,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/0879a2d7b6d3aad0076ad4f688ee16d1.webp",969,1194,{"page_no":213,"url":214,"width":215,"height":216},16,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/da98abfb8cefa693f45cb4b2f8e111a6.webp",968,1193,{"page_no":218,"url":219,"width":220,"height":221},17,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/3f62bbce81369a1bd5e6a1f10d890056.webp",967,1192,{"page_no":223,"url":224,"width":225,"height":226},18,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/1e120c3e2da590e7ee52b45de6174e9b.webp",966,1191,{"page_no":56,"url":228,"width":229,"height":230},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/2017de1e5a2796b9706c69d3408f1f1a.webp",965,1190,{"page_no":46,"url":232,"width":233,"height":234},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/35e51493c56d5833c9fe9655096872d6.webp",964,1188,{"page_no":236,"url":237,"width":238,"height":239},21,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/8f785e46a091007a82d102457b85ef02.webp",963,1187,{"page_no":145,"url":241,"width":242,"height":243},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/9d03387337a3ab4e9ec22bc7767be071.webp",962,1186,{"list":245,"token":66},[246,252,258,264,270,276,282,288,294,300],{"doc_id":247,"doc_title":248,"file_type":137,"home_preview_img_url":249,"slug":250,"view_count":19,"category_name":30,"create_tm":251},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=1796116199&Signature=xA9cfkcjMJtaGMlyEu9AnSGkBPQ%3D","6170-tutorial-2-rails-basics-topic-0-useful-commands-when-developing-rails-applications",1793940543,{"doc_id":253,"doc_title":254,"file_type":137,"home_preview_img_url":255,"slug":256,"view_count":8,"category_name":30,"create_tm":257},760730,"GitHub for Developers Training Manual - v1.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044249605/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796116199&Signature=DgUQLoLeBUqxKimXf0w2wmY8L1M%3D","github-for-developers-training-manual-v10",1795908755,{"doc_id":259,"doc_title":260,"file_type":137,"home_preview_img_url":261,"slug":262,"view_count":34,"category_name":30,"create_tm":263},693044,"Git and GitHub Primer - Introduction to Programming Systems COS 217","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005055419/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796116199&Signature=kZys98aYwCXEF0RfzJz5c%2B4ECHc%3D","git-and-github-primer-introduction-to-programming-systems-cos-217",1794246576,{"doc_id":265,"doc_title":266,"file_type":137,"home_preview_img_url":267,"slug":268,"view_count":19,"category_name":30,"create_tm":269},681169,"Depot - Iteration A1 - Creating the Product Maintenance Application","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998653636/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796116199&Signature=BnUJrVjtHTr1efPmF2GWZ0%2B4yEE%3D","depot-iteration-a1-creating-the-product-maintenance-application",1793940561,{"doc_id":271,"doc_title":272,"file_type":137,"home_preview_img_url":273,"slug":274,"view_count":52,"category_name":30,"create_tm":275},693047,"Beginner’s Guide to using Git","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005055448/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796116199&Signature=EITQQ5efys%2FypB1b0MgspzJYWjY%3D","beginners-guide-to-using-git",1794246579,{"doc_id":277,"doc_title":278,"file_type":137,"home_preview_img_url":279,"slug":280,"view_count":29,"category_name":30,"create_tm":281},681165,"Ruby on rails: The new GEM of web development - Introduction - Advantages of RoR framework - Architecture","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229997883788/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796116199&Signature=FJX%2FxKBNHYs2at5R2bF2zg97a7U%3D","ruby-on-rails-the-new-gem-of-web-development-introduction-advantages-of-ror-framework-architecture",1793940554,{"doc_id":283,"doc_title":284,"file_type":137,"home_preview_img_url":285,"slug":286,"view_count":198,"category_name":30,"create_tm":287},673518,"Installation Guide - 2022 MS SQL Server on Ubuntu Linux (20.4)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990906935/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796116199&Signature=5pjbVRDlrKHeQCEMzMfFeHMFHpU%3D","installation-guide-2022-ms-sql-server-on-ubuntu-linux-204",1793647486,{"doc_id":289,"doc_title":290,"file_type":137,"home_preview_img_url":291,"slug":292,"view_count":81,"category_name":30,"create_tm":293},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=1796116199&Signature=WVUPNF%2FpMMrOz%2FitX1cEb875Z%2F0%3D","swt2_03_ruby-on-rails-introduction-to-ruby-on-rails",1793940553,{"doc_id":295,"doc_title":296,"file_type":137,"home_preview_img_url":297,"slug":298,"view_count":34,"category_name":30,"create_tm":299},693046,"Git Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005055420/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796116199&Signature=qoxawQ27zP%2BNdWaO%2Ffv10oEEBCA%3D","git-tutorial-693046",1794246578,{"doc_id":301,"doc_title":302,"file_type":137,"home_preview_img_url":303,"slug":304,"view_count":24,"category_name":30,"create_tm":305},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=1796116199&Signature=Qwsh62egqkTNXOCdRUUqTm%2B3ZBo%3D","learn-ruby-on-rails-book-one-version-400-25-november-2016",1793630696]