CINXE.COM
Ruby on Rails — Docs
<!doctype html> <html lang="en"> <head> <title>Ruby on Rails — Docs</title> <meta charset="utf-8" /> <meta content="ie=edge" http-equiv="x-ua-compatible" /> <meta name="handheldfriendly" content="true" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern." /> <meta property="og:site_name" content="Ruby on Rails" /> <meta property="og:title" content="Docs" /> <meta property="og:description" content="A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern." /> <meta property="og:image" content="https://rubyonrails.org/assets/images/opengraph.png" /> <meta property="og:url" content="https://rubyonrails.org/docs" /> <meta property="og:type" content="website" /> <meta name="twitter:title" content="Docs" /> <meta name="twitter:description" content="A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern." /> <meta name="twitter:image" content="https://rubyonrails.org/assets/images/opengraph.png" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:creator" content="@rails" /> <meta name="twitter:image:alt" content="Ruby on Rails" /> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "WebPage", "mainEntityOfPage": { "@type": "WebPage", "@id": "https://rubyonrails.org/docs" }, "name": "Ruby on Rails", "headline": "Docs", "description": "A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.", "url": "https://rubyonrails.org/docs", "image": "https://rubyonrails.org/assets/images/opengraph.png" } </script> <script defer data-domain="rubyonrails.org" src="https://plausible.io/js/script.js"></script> <link rel="icon" href="/assets/images/favicon.png" /> <link rel="stylesheet" href="/assets/css/style.css" /> <link rel="alternate" type="application/rss+xml" href="/feed.xml" title="The official Ruby on Rails blog"> </head> <body> <nav class="nav"> <a class="nav__logo" href="/" aria-label="Ruby on Rails"></a> <input class="nav__checkbox" id="nav__checkbox" type="checkbox" role="button" aria-label="menu" /> <label class="nav__toggle" for="nav__checkbox"> <span></span> </label> <div class="nav__options"> <div> <ul> <li><a href="https://github.com/rails/rails"><span>Source</span></a></li> <li class="active"><a href="/docs"><span>Docs</span></a></li> <li><a href="/community"><span>Community</span></a></li> <li><a href="/blog"><span>News</span></a></li> </ul> <ul> <li><a href="/world"><span>Events</span></a></li> <li><a href="https://jobs.rubyonrails.org"><span>Jobs</span></a></li> <li><a href="https://merch.rubyonrails.org"><span>Merch</span></a></li> <li><a href="/foundation"><span>Foundation</span></a></li> </ul> </div> </div> </nav> <div class="layout"> <div class="docs heading common-padding--bottom common-padding--top-small"> <div class="container"> <div class="heading__body"> <div class="heading__headline common-headline"> <h1> Everything you need<br> to get building. </h1> </div> </div> </div> </div> <div class="docs cards common-padding--bottom-small"> <div class="container"> <h2 class="thin">Get Started</h2> <div class="cards__container"> <div class="card"> <a href="https://guides.rubyonrails.org/install_ruby_on_rails.html" title="Install Ruby on Rails"> <div class="card__body"> <div class="card__label"> <h6>Installation</h6> </div> <div class="card__headline"> <h3>Download Rails</h3> </div> <div class="card__content"> <p>Get Rails installed and set up on your system—Windows, macOS, or Linux.</p> </div> </div> </a> </div> <div class="card"> <a href="https://guides.rubyonrails.org/getting_started.html" title="The Rails Tutorial"> <div class="card__body"> <div class="card__label"> <h6>Education</h6> </div> <div class="card__headline"> <h3>Follow a tutorial</h3> </div> <div class="card__content"> <p>Build an app and learn the basics of Rails with a hands-on, step-by-step tutorial.</p> </div> </div> </a> </div> <div class="card"> <a href="https://guides.rubyonrails.org/" title="The Ruby on Rails Guides"> <div class="card__body"> <div class="card__label"> <h6>Level Up</h6> </div> <div class="card__headline"> <h3>Read the guides</h3> </div> <div class="card__content"> <p>Explore in-depth guides covering essential Rails features and built-in libraries.</p> </div> </div> </a> </div> </div> <h2 class="thin">Dive Deeper</h2> <div class="cards__container"> <div class="card"> <a href="https://api.rubyonrails.org/" title="The API Documentation"> <div class="card__body"> <div class="card__label"> <h6>Reference</h6> </div> <div class="card__headline"> <h3>The API Documentation</h3> </div> <div class="card__content"> <p>The full framework reference, from A to Z for every piece of Rails.</p> </div> </div> </a> </div> <div class="card"> <a href="https://discuss.rubyonrails.org/" title="The Rails Forum"> <div class="card__body"> <div class="card__label"> <h6>Discussion</h6> </div> <div class="card__headline"> <h3>Join the conversation</h3> </div> <div class="card__content"> <p>Chat, share ideas, and ask for help on the Rails Forum.</p> </div> </div> </a> </div> <div class="card"> <a href="https://guides.rubyonrails.org/contributing_to_ruby_on_rails.html" title="Contribute to Rails"> <div class="card__body"> <div class="card__label"> <h6>Get Involved</h6> </div> <div class="card__headline"> <h3>Contribute to Rails</h3> </div> <div class="card__content"> <p>Report issues, review code, or submit updates to the open source Rails project.</p> </div> </div> </a> </div> </div> </div> </div> <div class="docs text common-padding--bottom"> <div class="container"> <div class="text__body"> <div class="text__content common-content"> <h2 class="how">How did they do it?</h2> <p class="how-leadin"> See how some of the most successful online products used Rails to launch, scale, and thrive in a competitive world. Read these case studies to learn more: </p> <ul class="case-studies"> <li class="case-study"> <a href="/docs/case-studies/doximity"> <img src="/assets/images/logo-doximity.svg" alt="Doximity"> </a> </li> </ul> <p class="how-leadin"> More stories coming soon, but for now here's some of our friends who have used Rails to take their products from zero to enterprise: </p> <ul class="use-rails"> <li class="use-rails__item"> <a href="https://basecamp.com" aria-label="Basecamp"> <img src="/assets/images/logo-basecamp.svg" alt="Basecamp" /> </a> </li> <li class="use-rails__item"> <a href="https://hey.com" aria-label="HEY"> <img src="/assets/images/logo-hey.svg" alt="HEY" /> </a> </li> <li class="use-rails__item"> <a href="https://github.com" aria-label="GitHub"> <img src="/assets/images/logo-github.svg" alt="GitHub" /> </a> </li> <li class="use-rails__item"> <a href="https://shopify.com" aria-label="Shopify"> <img src="/assets/images/logo-shopify.svg" alt="Shopify" /> </a> </li> <li class="use-rails__item"> <a href="https://instacart.com" aria-label="Instacart"> <img src="/assets/images/logo-instacart.svg" alt="Instacart" /> </a> </li> <li class="use-rails__item"> <a href="https://dribbble.com" aria-label="Dribbble"> <img src="/assets/images/logo-dribbble.svg" alt="Dribbble" /> </a> </li> <li class="use-rails__item"> <a href="https://gusto.com" aria-label="Gusto"> <img src="/assets/images/logo-gusto.svg" alt="Gusto" /> </a> </li> <li class="use-rails__item"> <a href="https://zendesk.com" aria-label="Zendesk"> <img src="/assets/images/logo-zendesk.svg" alt="Zendesk" /> </a> </li> <li class="use-rails__item"> <a href="https://squareup.com" aria-label="Square"> <img src="/assets/images/logo-square.svg" alt="Square" /> </a> </li> <li class="use-rails__item"> <a href="https://kickstarter.com" aria-label="Kickstarter"> <img src="/assets/images/logo-kickstarter.svg" alt="Kickstarter" /> </a> </li> <li class="use-rails__item"> <a href="https://heroku.com" aria-label="Heroku"> <img src="/assets/images/logo-heroku.svg" alt="Heroku" /> </a> </li> <li class="use-rails__item"> <a href="https://cookpad.com" aria-label="Cookpad"> <img src="/assets/images/logo-cookpad.svg" alt="Cookpad" /> </a> </li> <li class="use-rails__item"> <a href="https://www.doximity.com" aria-label="Doximity"> <img src="/assets/images/logo-doximity.svg" alt="Doximity" /> </a> </li> <li class="use-rails__item"> <a href="https://www.intercom.com" aria-label="Intercom"> <img src="/assets/images/logo-intercom.svg" alt="Intercom" /> </a> </li> <li class="use-rails__item"> <a href="https://www.fleetio.com" aria-label="Fleetio"> <img src="/assets/images/logo-fleetio.svg" alt="Fleetio" /> </a> </li> <li class="use-rails__item"> <a href="https://li.me" aria-label="Lime"> <img src="/assets/images/logo-lime.svg" alt="Lime" /> </a> </li> <li class="use-rails__item"> <a href="https://www.freeagent.com/" aria-label="FreeAgent"> <img src="/assets/images/logo-freeagent.svg" alt="FreeAgent" /> </a> </li> <li class="use-rails__item"> <a href="https://coinbase.com" aria-label="Coinbase"> <img src="/assets/images/logo-coinbase.svg" alt="Coinbase" /> </a> </li> <li class="use-rails__item"> <a href="https://www.procore.com" aria-label="Procore"> <img src="/assets/images/logo-procore.svg" alt="Procore" /> </a> </li> <li class="use-rails__item"> <a href="https://www.appsignal.com/" aria-label="AppSignal"> <img src="/assets/images/logo-appsignal.svg" alt="AppSignal" /> </a> </li> </ul> </div> </div> </div> </div> </div> <footer class="footer common-background--grey common-padding--bottom common-padding--top common-shape--top-white-up-left"> <div class="footer__logo"><a href="/" aria-label="Ruby on Rails"></a></div> </footer> </body> </html>