aboutsummaryrefslogblamecommitdiffstats
path: root/railties/guides/source/index.html.erb
blob: 84fbc53a6942cf26e0af27c4b83af2b9d59c6346 (plain) (tree)
1
2
3
4
5
6
7



                                
                                    
                                                                     
 








                                                                                    




                                                                                               
         



                                                                          






                                                                                                                                                            
                                                                                                                                                                                                                                                                                           


















                                                                                                                                
                                                                                                      


















                                                                                                                                                                                    
                                                                                           
                                              


















                                                                                                                                                                                                                                             



                                                                                        



                                                                                                                                                                                                                                            
                                                                                               


                                                                                  
                                                                                        














                                                                                                                                                                                       



                                                                                    
                                                                                                          


                                                                                   
                                                                                           

                                                      

     


                        
                                                                                                    






                                                                                                    
                                                                                 

                                                                                      
                                                                       


           









                                                                                                                                                                 

                                                                                            
                                                                    
           

     














                                                                            
<% content_for :page_title do %>
Ruby on Rails Guides
<% end %>

<% content_for :header_section do %>
<h2>Ruby on Rails Guides (<%= ENV['RAILS_VERSION'] || 'edge' %>)</h2>

<% if @edge %>
<p>
  These are <b>Edge Guides</b>, based on the current
  <a href="http://github.com/rails/rails/tree/master">master branch</a>.
</p>
<p>
  If you are looking for the ones for the stable version please check
  <a href="http://guides.rubyonrails.org">http://guides.rubyonrails.org</a> instead.
</p>
<% else %>
<p>
  These are the new guides for Rails 3. The guides for Rails 2.3 are still available
  at <a href="http://guides.rubyonrails.org/v2.3.8/">http://guides.rubyonrails.org/v2.3.8/</a>.
</p>
<% end %>
<p>
  These guides are designed to make you immediately productive with Rails,
  and to help you understand how all of the pieces fit together.
</p>

<% end %>

<% content_for :index_section do %>
<div id="subCol">
  <dl>
    <dd class="warning">Rails Guides are a result of the ongoing <a href="http://hackfest.rubyonrails.org">Guides hackfest</a>, and a work in progress.</dd>
    <dd class="work-in-progress">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 to the author.</dd>
  </dl>
</div>
<% end %>

<h3>Start Here</h3>

<dl>
<%= guide('Getting Started with Rails', 'getting_started.html') do %>
  <p>Everything you need to know to install Rails and create your first application.</p>
<% end %>
</dl>

<h3>Models</h3>

<dl>
<%= guide("Rails Database Migrations", 'migrations.html') do %>
  <p>This guide covers how you can use Active Record migrations to alter your database in a structured and organized manner.</p>
<% end %>

<%= guide("Active Record Validations and Callbacks", 'active_record_validations_callbacks.html') do %>
  <p>This guide covers how you can use Active Record validations and callbacks.</p>
<% end %>

<%= guide("Active Record Associations", 'association_basics.html') do %>
  <p>This guide covers all the associations provided by Active Record.</p>
<% end %>

<%= guide("Active Record Query Interface", 'active_record_querying.html') do %>
  <p>This guide covers the database query interface provided by Active Record.</p>
<% end %>
</dl>

<h3>Views</h3>

<dl>
<%= guide("Layouts and Rendering in Rails", 'layouts_and_rendering.html') do %>
  <p>This guide covers the basic layout features of Action Controller and Action View, including rendering and redirecting, using content_for blocks, and working with partials.</p>
<% end %>

<%= guide("Action View Form Helpers", 'form_helpers.html', :work_in_progress => true) do %>
  <p>Guide to using built-in Form helpers.</p>
<% end %>
</dl>

<h3>Controllers</h3>

<dl>
<%= guide("Action Controller Overview", 'action_controller_overview.html') do %>
  <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>
<% end %>

<%= guide("Rails Routing from the Outside In", 'routing.html') do %>
  <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>
<% end %>
</dl>

<h3>Digging Deeper</h3>

<dl>

<%= guide("Active Support Core Extensions", 'active_support_core_extensions.html') do %>
  <p>This guide documents the Ruby core extensions defined in Active Support.</p>
<% end %>

<%= guide("Rails Internationalization API", 'i18n.html') do %>
  <p>This guide covers how to add internationalization to your applications. Your application will be able to translate content to different languages, change pluralization rules, use correct date formats for each country and so on.</p>
<% end %>

<%= guide("Action Mailer Basics", 'action_mailer_basics.html', :work_in_progress => true) do %>
  <p>This guide describes how to use Action Mailer to send and receive emails.</p>
<% end %>

<%= guide("Testing Rails Applications", 'testing.html', :work_in_progress => true) do %>
  <p>This is a rather comprehensive guide to doing both unit and functional tests in Rails. It covers everything from &quot;What is a test?&quot; to the testing APIs. Enjoy.</p>
<% end %>

<%= guide("Securing Rails Applications", 'security.html') do %>
  <p>This guide describes common security problems in web applications and how to avoid them with Rails.</p>
<% end %>

<%= guide("Debugging Rails Applications", 'debugging_rails_applications.html') do %>
  <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>
<% end %>

<%= guide("Performance Testing Rails Applications", 'performance_testing.html') do %>
  <p>This guide covers the various ways of performance testing a Ruby on Rails application.</p>
<% end %>

<%= guide("Configuring Rails Applications", 'configuring.html') do %>
  <p>This guide covers the basic configuration settings for a Rails application.</p>
<% end %>

<%= guide("Rails Command Line Tools and Rake tasks", 'command_line.html', :work_in_progress => true) do %>
  <p>This guide covers the command line tools and rake tasks provided by Rails.</p>
<% end %>

<%= guide("Caching with Rails", 'caching_with_rails.html', :work_in_progress => true) do %>
  <p>Various caching techniques provided by Rails.</p>
<% end %>
</dl>

<h3>Extending Rails</h3>

<dl>
  <%= guide("The Basics of Creating Rails Plugins", 'plugins.html', :work_in_progress => true) do %>
    <p>This guide covers how to build a plugin to extend the functionality of Rails.</p>
  <% end %>

  <%= guide("Rails on Rack", 'rails_on_rack.html') do %>
    <p>This guide covers Rails integration with Rack and interfacing with other Rack components.</p>
  <% end %>

  <%= guide("Creating and Customizing Rails Generators", 'generators.html') do %>
    <p>This guide covers the process of adding a brand new generator to your extension
      or providing an alternative to an element of a built-in Rails generator (such as
      providing alternative test stubs for the scaffold generator).</p>
  <% end %>
</dl>

<h3>Contributing to Rails</h3>

<dl>
  <%= guide("Contributing to Rails", 'contributing_to_rails.html') do %>
    <p>Rails is not &quot;somebody else's framework.&quot; This guide covers a variety of ways that you can get involved in the ongoing development of Rails.</p>
  <% end %>

  <%= guide('API Documentation Guidelines', 'api_documentation_guidelines.html') do %>
    <p>This guide documents the Ruby on Rails API documentation guidelines.</p>
  <% end %>
  
  <%= guide('Ruby on Rails Guides Guidelines', 'ruby_on_rails_guides_guidelines.html') do %>
    <p>This guide documents the Ruby on Rails guides guidelines.</p>
  <% end %>
</dl>

<h3>Release Notes</h3>

<dl>
<%= guide("Ruby on Rails 3.0 Release Notes", '3_0_release_notes.html') do %>
  <p>Release notes for Rails 3.0.</p>
<% end %>

<%= guide("Ruby on Rails 2.3 Release Notes", '2_3_release_notes.html') do %>
  <p>Release notes for Rails 2.3.</p>
<% end %>

<%= guide("Ruby on Rails 2.2 Release Notes", '2_2_release_notes.html') do %>
  <p>Release notes for Rails 2.2.</p>
<% end %>
</dl>