2013-10-27 15:14:41 -04:00
<!DOCTYPE html>
2018-04-22 20:28:30 -04:00
<html lang="en">
2009-02-05 20:57:02 -05:00
<head>
2018-04-22 20:28:30 -04:00
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
2019-01-04 02:37:24 -05:00
<title><%= yield(:page_title) %></title>
2018-04-22 20:28:30 -04:00
<link rel="stylesheet" type="text/css" href="stylesheets/style.css" data-turbolinks-track="reload">
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print">
2020-07-04 04:59:08 -04:00
<link rel="stylesheet" type="text/css" href="stylesheets/highlight.css" data-turbolinks-track="reload">
2018-04-22 20:28:30 -04:00
<link href="images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<script src="javascripts/turbolinks.js" data-turbolinks-track="reload"></script>
2020-07-11 06:23:37 -04:00
<script src="javascripts/clipboard.js" data-turbolinks-track="reload"></script>
2018-04-22 20:28:30 -04:00
<script src="javascripts/guides.js" data-turbolinks-track="reload"></script>
2019-01-04 02:37:24 -05:00
<meta property="og:title" content="<%= yield(:page_title) %>" />
<meta name="description" content="<%= yield(:description) %>" />
<meta property="og:description" content="<%= yield(:description) %>" />
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="Ruby on Rails Guides" />
<meta property="og:image" content="https://avatars.githubusercontent.com/u/4223" />
<meta property="og:type" content="website" />
2009-02-05 20:57:02 -05:00
</head>
<body class="guide">
2020-10-17 07:00:09 -04:00
<% if badge_version = @edge ? "edge" : @version %>
2010-04-02 17:53:39 -04:00
<div>
2020-10-17 07:00:09 -04:00
<div id="version-badge"><%= badge_version %></div>
2010-04-02 17:53:39 -04:00
</div>
<% end %>
2009-02-05 20:57:02 -05:00
<div id="topNav">
<div class="wrapper">
2019-03-05 22:00:45 -05:00
<strong class="more-info-label">More at <a href="https://rubyonrails.org/">rubyonrails.org:</a> </strong>
2016-02-13 11:56:56 -05:00
<span class="red-button more-info-button">
More Ruby on Rails
</span>
<ul class="more-info-links s-hidden">
2018-05-02 08:06:03 -04:00
<li class="more-info"><a href="https://weblog.rubyonrails.org/">Blog</a></li>
2018-07-23 22:29:31 -04:00
<li class="more-info"><a href="https://guides.rubyonrails.org/">Guides</a></li>
2019-03-05 22:00:45 -05:00
<li class="more-info"><a href="https://api.rubyonrails.org/">API</a></li>
2020-07-06 17:20:08 -04:00
<li class="more-info"><a href="https://discuss.rubyonrails.org/">Forum</a></li>
2016-02-13 11:56:56 -05:00
<li class="more-info"><a href="https://github.com/rails/rails">Contribute on GitHub</a></li>
</ul>
2009-02-05 20:57:02 -05:00
</div>
</div>
<div id="header">
<div class="wrapper clearfix">
<h1><a href="index.html" title="Return to home page">Guides.rubyonrails.org</a></h1>
<ul class="nav">
2012-05-26 00:28:24 -04:00
<li><a class="nav-item" href="index.html">Home</a></li>
<li class="guides-index guides-index-large">
2013-06-24 12:43:11 -04:00
<a href="index.html" id="guidesMenu" class="guides-index-item nav-item">Guides Index</a>
2009-02-05 20:57:02 -05:00
<div id="guides" class="clearfix" style="display: none;">
<hr />
2019-11-14 20:02:18 -05:00
<dl class="guides-section-container">
2018-10-19 18:41:32 -04:00
<% documents_by_section.each do |section| %>
<div class="guides-section">
<dt><%= section['name'] %></dt>
<% finished_documents(section['documents']).each do |document| %>
<dd><a href="<%= document['url'] %>"><%= document['name'] %></a></dd>
<% end %>
</div>
2011-12-31 12:25:25 -05:00
<% end %>
2019-11-14 20:02:18 -05:00
</dl>
2009-02-05 20:57:02 -05:00
</div>
</li>
2012-05-26 00:28:24 -04:00
<li><a class="nav-item" href="contributing_to_ruby_on_rails.html">Contribute</a></li>
<li class="guides-index guides-index-small">
<select class="guides-index-item nav-item">
<option value="index.html">Guides Index</option>
<% docs_for_menu.each do |section| %>
<optgroup label="<%= section['name'] %>">
<% finished_documents(section['documents']).each do |document| %>
<option value="<%= document['url'] %>"><%= document['name'] %></option>
<% end %>
</optgroup>
<% end %>
</select>
</li>
2009-02-05 20:57:02 -05:00
</ul>
</div>
</div>
<hr class="hide" />
<div id="feature">
<div class="wrapper">
<%= yield :header_section %>
<%= yield :index_section %>
</div>
</div>
<div id="container">
<div class="wrapper">
<div id="mainCol">
2016-10-25 09:18:34 -04:00
<%= yield %>
2010-12-19 07:27:20 -05:00
2010-11-19 15:42:18 -05:00
<h3>Feedback</h3>
<p>
2011-03-29 04:50:00 -04:00
You're encouraged to help improve the quality of this guide.
2010-11-19 15:42:18 -05:00
</p>
<p>
2013-08-19 07:49:35 -04:00
Please contribute if you see any typos or factual errors.
2018-08-28 09:49:58 -04:00
To get started, you can read our <%= link_to 'documentation contributions', 'https://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#contributing-to-the-rails-documentation' %> section.
2010-11-19 15:42:18 -05:00
</p>
<p>
2017-11-25 09:04:42 -05:00
You may also find incomplete content or stuff that is not up to date.
2021-01-19 15:43:24 -05:00
Please do add any missing documentation for main. Make sure to check
2018-08-28 09:49:58 -04:00
<%= link_to 'Edge Guides', 'https://edgeguides.rubyonrails.org' %> first to verify
2021-01-19 15:43:24 -05:00
if the issues are already fixed or not on the main branch.
2013-08-22 23:05:15 -04:00
Check the <%= link_to 'Ruby on Rails Guides Guidelines', 'ruby_on_rails_guides_guidelines.html' %>
2010-12-19 10:58:33 -05:00
for style and conventions.
2010-11-19 15:42:18 -05:00
</p>
2011-09-10 13:29:50 -04:00
<p>
If for whatever reason you spot something to fix but cannot patch it yourself, please
<%= link_to 'open an issue', 'https://github.com/rails/rails/issues' %>.
</p>
2010-11-19 15:42:18 -05:00
<p>And last but not least, any kind of discussion regarding Ruby on Rails
2020-03-26 02:21:37 -04:00
documentation is very welcome on the <%= link_to 'rubyonrails-docs mailing list', 'https://discuss.rubyonrails.org/c/rubyonrails-docs' %>.
2010-11-19 15:42:18 -05:00
</p>
2009-02-05 20:57:02 -05:00
</div>
</div>
</div>
<hr class="hide" />
<div id="footer">
<div class="wrapper">
2011-12-24 20:26:18 -05:00
<%= render 'license' %>
2009-02-05 20:57:02 -05:00
</div>
</div>
</body>
</html>