2010-03-31 18:20:43 -04:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
|
2009-02-05 20:57:02 -05:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
|
|
|
2011-08-30 16:48:16 -04:00
|
|
|
<title><%= yield(:page_title) || 'Ruby on Rails Guides' %></title>
|
2009-02-05 20:57:02 -05:00
|
|
|
|
2010-04-04 05:30:31 -04:00
|
|
|
<link rel="stylesheet" type="text/css" href="stylesheets/style.css" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
|
2009-02-05 20:57:02 -05:00
|
|
|
|
2010-10-23 18:35:47 -04:00
|
|
|
<link rel="stylesheet" type="text/css" href="stylesheets/syntaxhighlighter/shCore.css" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="stylesheets/syntaxhighlighter/shThemeRailsGuides.css" />
|
2011-02-05 16:09:35 -05:00
|
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="stylesheets/fixes.css" />
|
2012-04-22 16:20:22 -04:00
|
|
|
|
|
|
|
<link href="images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
2009-02-05 20:57:02 -05:00
|
|
|
</head>
|
|
|
|
<body class="guide">
|
2010-04-02 17:53:39 -04:00
|
|
|
<% if @edge %>
|
|
|
|
<div>
|
|
|
|
<img src="images/edge_badge.png" alt="edge-badge" id="edge-badge" />
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2009-02-05 20:57:02 -05:00
|
|
|
<div id="topNav">
|
|
|
|
<div class="wrapper">
|
2009-03-16 07:28:36 -04:00
|
|
|
<strong>More at <a href="http://rubyonrails.org/">rubyonrails.org:</a> </strong>
|
|
|
|
<a href="http://rubyonrails.org/">Overview</a> |
|
|
|
|
<a href="http://rubyonrails.org/download">Download</a> |
|
|
|
|
<a href="http://rubyonrails.org/deploy">Deploy</a> |
|
2011-05-16 11:54:57 -04:00
|
|
|
<a href="https://github.com/rails/rails">Code</a> |
|
2009-03-16 07:28:36 -04:00
|
|
|
<a href="http://rubyonrails.org/screencasts">Screencasts</a> |
|
|
|
|
<a href="http://rubyonrails.org/documentation">Documentation</a> |
|
|
|
|
<a href="http://rubyonrails.org/ecosystem">Ecosystem</a> |
|
|
|
|
<a href="http://rubyonrails.org/community">Community</a> |
|
2009-02-05 20:57:02 -05:00
|
|
|
<a href="http://weblog.rubyonrails.org/">Blog</a>
|
|
|
|
</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">
|
|
|
|
<li><a href="index.html">Home</a></li>
|
2009-02-24 07:29:25 -05:00
|
|
|
<li class="index"><a href="index.html" onclick="guideMenu(); return false;" id="guidesMenu">Guides Index</a>
|
2009-02-05 20:57:02 -05:00
|
|
|
<div id="guides" class="clearfix" style="display: none;">
|
|
|
|
<hr />
|
2011-12-31 12:25:25 -05:00
|
|
|
<% ['L', 'R'].each do |position| %>
|
|
|
|
<dl class="<%= position %>">
|
|
|
|
<% docs_for_menu(position).each do |section| %>
|
|
|
|
<dt><%= section['name'] %></dt>
|
|
|
|
<% finished_documents(section['documents']).each do |document| %>
|
|
|
|
<dd><a href="<%= document['url'] %>"><%= document['name'] %></a></dd>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</dl>
|
|
|
|
<% end %>
|
2009-02-05 20:57:02 -05:00
|
|
|
</div>
|
|
|
|
</li>
|
2011-09-11 10:14:42 -04:00
|
|
|
<li><a href="contributing_to_ruby_on_rails.html">Contribute</a></li>
|
2009-02-05 20:57:02 -05:00
|
|
|
<li><a href="credits.html">Credits</a></li>
|
|
|
|
</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">
|
2010-02-01 19:04:35 -05:00
|
|
|
<%= yield.html_safe %>
|
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>
|
|
|
|
If you see any typos or factual errors you are confident to
|
2010-12-19 10:58:33 -05:00
|
|
|
patch, please clone <%= link_to 'docrails', 'https://github.com/lifo/docrails' %>
|
2010-11-19 15:42:18 -05:00
|
|
|
and push the change yourself. That branch of Rails has public write access.
|
|
|
|
Commits are still reviewed, but that happens after you've submitted your
|
|
|
|
contribution. <%= link_to 'docrails', 'https://github.com/lifo/docrails' %> is
|
|
|
|
cross-merged with master periodically.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
You may also find incomplete content, or stuff that is not up to date.
|
|
|
|
Please do add any missing documentation for master. 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
|
|
|
|
documentation is very welcome in the <%= link_to 'rubyonrails-docs mailing list', 'http://groups.google.com/group/rubyonrails-docs' %>.
|
|
|
|
</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>
|
2010-10-23 18:35:47 -04:00
|
|
|
|
|
|
|
<script type="text/javascript" src="javascripts/guides.js"></script>
|
|
|
|
<script type="text/javascript" src="javascripts/syntaxhighlighter/shCore.js"></script>
|
|
|
|
<script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushRuby.js"></script>
|
|
|
|
<script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushXml.js"></script>
|
|
|
|
<script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushSql.js"></script>
|
|
|
|
<script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushPlain.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
SyntaxHighlighter.all()
|
|
|
|
</script>
|
2009-02-05 20:57:02 -05:00
|
|
|
</body>
|
|
|
|
</html>
|