4e14ccc74d
Instiki now runs on the Rails 2.3.0 Candidate Release. Among other improvements, this means that it now automagically selects between WEBrick and Mongrel. Just run ./instiki --daemon
223 lines
10 KiB
HTML
223 lines
10 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<title>Ruby on Rails Guides</title>
|
|
<!--[if lt IE 8]>
|
|
<script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script>
|
|
<![endif]-->
|
|
<link href="stylesheets/base.css" media="screen" rel="Stylesheet" type="text/css" />
|
|
<link href="stylesheets/forms.css" media="screen" rel="Stylesheet" type="text/css" />
|
|
<link href="stylesheets/more.css" media="screen" rel="Stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="header" class="notoc">
|
|
<div id="logo">
|
|
<a href="index.html" title="Ruby on Rails"><img src="images/rails_logo_remix.gif" alt="Rails" height="140" width="110" /></a>
|
|
</div>
|
|
|
|
<h1 id="site_title"><span>Ruby on Rails</span></h1>
|
|
<h2 id="site_title_tagline">Sustainable productivity for web-application development</h2>
|
|
|
|
<ul id="navMain">
|
|
<li class="first-child"><a href="http://www.rubyonrails.org/" title="Ruby on Rails" class="ruby_on_rails">Ruby on Rails</a></li>
|
|
<li><a class="manuals" href="index.html" title="Manuals Index">Guides Index</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="container" class="notoc">
|
|
|
|
<div id="content">
|
|
<h1>Ruby on Rails Guides</h1>
|
|
<div id="preamble">
|
|
<div class="sectionbody">
|
|
<div class="paragraph"><p>These guides are designed to make you immediately productive with Rails, and to help you understand how all of the pieces fit together. There are two different versions of the Guides site, and you should be sure to use the one that applies to your situation:</p></div>
|
|
<div class="ulist"><ul>
|
|
<li>
|
|
<p>
|
|
<a href="http://guides.rubyonrails.org/">Current Release version</a> - based on Rails 2.2
|
|
</p>
|
|
</li>
|
|
<li>
|
|
<p>
|
|
<a href="http://guides.rails.info/">Edge Rails version</a> - based on the Rails 2.3 branch
|
|
</p>
|
|
</li>
|
|
</ul></div>
|
|
<div class="admonitionblock">
|
|
<table><tr>
|
|
<td class="icon">
|
|
<img src="./images/icons/warning.png" alt="Warning" />
|
|
</td>
|
|
<td class="content">This page is the result of ongoing <a href="http://hackfest.rubyonrails.org/guide">Rails Guides hackfest</a> and a work in progress.</td>
|
|
</tr></table>
|
|
</div>
|
|
<div class="admonitionblock">
|
|
<table><tr>
|
|
<td class="icon">
|
|
<img src="./images/icons/caution.png" alt="Caution" />
|
|
</td>
|
|
<td class="content">Guides marked with this icon are currently being worked on. While they might still be useful to you, they may contain incomplete information and even errors. You can help by reviewing them and posting your comments and corrections at the respective Lighthouse ticket.</td>
|
|
</tr></table>
|
|
</div>
|
|
<h2>Start Here</h2>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="getting_started_with_rails.html">Getting Started with Rails</a></div>
|
|
<div class="paragraph"><p>Everything you need to know to install Rails and create your first application.</p></div>
|
|
</div></div>
|
|
<h2>Models</h2>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="migrations.html">Rails Database Migrations</a></div>
|
|
<div class="paragraph"><p>This guide covers how you can use Active Record migrations to alter your database in a structured and organized manner.</p></div>
|
|
</div></div>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="activerecord_validations_callbacks.html">Active Record Validations and Callbacks</a></div>
|
|
<div class="admonitionblock">
|
|
<table><tr>
|
|
<td class="icon">
|
|
<img src="./images/icons/caution.png" alt="Caution" />
|
|
</td>
|
|
<td class="content"><a href="http://rails.lighthouseapp.com/projects/16213/tickets/26">Lighthouse Ticket</a></td>
|
|
</tr></table>
|
|
</div>
|
|
<div class="paragraph"><p>This guide covers how you can use Active Record validations and callbacks.</p></div>
|
|
</div></div>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="association_basics.html">Active Record Associations</a></div>
|
|
<div class="paragraph"><p>This guide covers all the associations provided by Active Record.</p></div>
|
|
</div></div>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="active_record_querying.html">Active Record Query Interface</a></div>
|
|
<div class="admonitionblock">
|
|
<table><tr>
|
|
<td class="icon">
|
|
<img src="./images/icons/caution.png" alt="Caution" />
|
|
</td>
|
|
<td class="content"><a href="http://rails.lighthouseapp.com/projects/16213/tickets/16">Lighthouse Ticket</a></td>
|
|
</tr></table>
|
|
</div>
|
|
<div class="paragraph"><p>This guide covers the database query interface provided by Active Record.</p></div>
|
|
</div></div>
|
|
<h2>Views</h2>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="layouts_and_rendering.html">Layouts and Rendering in Rails</a></div>
|
|
<div class="paragraph"><p>This guide covers the basic layout features of Action Controller and Action View,
|
|
including rendering and redirecting, using <tt>content_for</tt> blocks, and working
|
|
with partials.</p></div>
|
|
</div></div>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="form_helpers.html">Action View Form Helpers</a></div>
|
|
<div class="admonitionblock">
|
|
<table><tr>
|
|
<td class="icon">
|
|
<img src="./images/icons/caution.png" alt="Caution" />
|
|
</td>
|
|
<td class="content"><a href="http://rails.lighthouseapp.com/projects/16213/tickets/1">Lighthouse Ticket</a></td>
|
|
</tr></table>
|
|
</div>
|
|
<div class="paragraph"><p>Guide to using built in Form helpers.</p></div>
|
|
</div></div>
|
|
<h2>Controllers</h2>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="routing_outside_in.html">Rails Routing from the Outside In</a></div>
|
|
<div class="paragraph"><p>This guide covers the user-facing features of Rails routing. If you want to
|
|
understand how to use routing in your own Rails applications, start here.</p></div>
|
|
</div></div>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="actioncontroller_basics.html">Basics of Action Controller</a></div>
|
|
<div class="paragraph"><p>This guide covers how controllers work and how they fit into the request cycle in your application. It includes sessions, filters, and cookies, data streaming, and dealing with exceptions raised by a request, among other topics.</p></div>
|
|
</div></div>
|
|
<h2>Digging Deeper</h2>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="action_mailer_basics.html">Action Mailer Basics</a></div>
|
|
<div class="admonitionblock">
|
|
<table><tr>
|
|
<td class="icon">
|
|
<img src="./images/icons/caution.png" alt="Caution" />
|
|
</td>
|
|
<td class="content"><a href="http://rails.lighthouseapp.com/projects/16213/tickets/25">Lighthouse ticket</a></td>
|
|
</tr></table>
|
|
</div>
|
|
<div class="paragraph"><p>This guide describes how to use Action Mailer to send and receive emails.</p></div>
|
|
</div></div>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="testing_rails_applications.html">Testing Rails Applications</a></div>
|
|
<div class="admonitionblock">
|
|
<table><tr>
|
|
<td class="icon">
|
|
<img src="./images/icons/caution.png" alt="Caution" />
|
|
</td>
|
|
<td class="content"><a href="http://rails.lighthouseapp.com/projects/16213/tickets/8">Lighthouse Ticket</a></td>
|
|
</tr></table>
|
|
</div>
|
|
<div class="paragraph"><p>This is a rather comprehensive guide to doing both unit and functional tests
|
|
in Rails. It covers everything from “What is a test?” to the testing APIs.
|
|
Enjoy.</p></div>
|
|
</div></div>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="security.html">Securing Rails Applications</a></div>
|
|
<div class="paragraph"><p>This guide describes common security problems in web applications and how to
|
|
avoid them with Rails.</p></div>
|
|
</div></div>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="debugging_rails_applications.html">Debugging Rails Applications</a></div>
|
|
<div class="paragraph"><p>This guide describes how to debug Rails applications. It covers the different
|
|
ways of achieving this and how to understand what is happening "behind the scenes"
|
|
of your code.</p></div>
|
|
</div></div>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="performance_testing.html">Performance Testing Rails Applications</a></div>
|
|
<div class="paragraph"><p>This guide covers ways to benchmark and profile your Rails application.</p></div>
|
|
</div></div>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="creating_plugins.html">The Basics of Creating Rails Plugins</a></div>
|
|
<div class="paragraph"><p>This guide covers how to build a plugin to extend the functionality of Rails.</p></div>
|
|
</div></div>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="i18n.html">The Rails Internationalization API</a></div>
|
|
<div class="admonitionblock">
|
|
<table><tr>
|
|
<td class="icon">
|
|
<img src="./images/icons/caution.png" alt="Caution" />
|
|
</td>
|
|
<td class="content"><a href="http://rails.lighthouseapp.com/projects/16213/tickets/23">Lighthouse ticket</a></td>
|
|
</tr></table>
|
|
</div>
|
|
<div class="paragraph"><p>This guide introduces you to the basic concepts and features of the Rails I18n API and shows you how to localize your application.</p></div>
|
|
</div></div>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="configuring.html">Configuring Rails Applications</a></div>
|
|
<div class="paragraph"><p>This guide covers the basic configuration settings for a Rails application.</p></div>
|
|
</div></div>
|
|
<div class="sidebarblock">
|
|
<div class="sidebar-content">
|
|
<div class="sidebar-title"><a href="command_line.html">Rails Command Line Tools and Rake tasks</a></div>
|
|
<div class="paragraph"><p>This guide covers the command line tools and rake tasks provided by Rails.</p></div>
|
|
</div></div>
|
|
<div class="paragraph"><p>Authors who have contributed to complete guides are listed <a href="authors.html">here</a>.</p></div>
|
|
<div class="paragraph"><p>This work is licensed under a <a href="http://creativecommons.org/licenses/by-sa/3.0">Creative Commons Attribution-Share Alike 3.0 License</a></p></div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|