rails 4.2.0.beta3 → 4.2.0.beta4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -7
- data/guides/output/2_2_release_notes.html +724 -0
- data/guides/output/2_3_release_notes.html +870 -0
- data/guides/output/3_0_release_notes.html +773 -0
- data/guides/output/3_1_release_notes.html +740 -0
- data/guides/output/3_2_release_notes.html +797 -0
- data/guides/output/4_0_release_notes.html +523 -0
- data/guides/output/4_1_release_notes.html +806 -0
- data/guides/output/4_2_release_notes.html +728 -0
- data/guides/output/Gemfile +6 -0
- data/guides/output/_license.html +226 -0
- data/guides/output/_welcome.html +233 -0
- data/guides/output/action_controller_overview.html +1335 -0
- data/guides/output/action_mailer_basics.html +928 -0
- data/guides/output/action_view_overview.html +1509 -0
- data/guides/output/active_job_basics.html +546 -0
- data/guides/output/active_model_basics.html +438 -0
- data/guides/output/active_record_basics.html +594 -0
- data/guides/output/active_record_callbacks.html +592 -0
- data/guides/output/active_record_migrations.html +1123 -0
- data/guides/output/active_record_postgresql.html +675 -0
- data/guides/output/active_record_querying.html +1796 -0
- data/guides/output/active_record_validations.html +1301 -0
- data/guides/output/active_support_core_extensions.html +3450 -0
- data/guides/output/active_support_instrumentation.html +1121 -0
- data/guides/output/api_documentation_guidelines.html +498 -0
- data/guides/output/asset_pipeline.html +1167 -0
- data/guides/output/association_basics.html +2086 -0
- data/guides/output/caching_with_rails.html +553 -0
- data/guides/output/command_line.html +791 -0
- data/guides/output/configuring.html +1055 -0
- data/guides/output/contributing_to_ruby_on_rails.html +657 -0
- data/guides/output/credits.html +284 -0
- data/guides/output/debugging_rails_applications.html +1014 -0
- data/guides/output/development_dependencies_install.html +478 -0
- data/guides/output/engines.html +1438 -0
- data/guides/output/form_helpers.html +1074 -0
- data/guides/output/generators.html +838 -0
- data/guides/output/getting_started.html +2092 -0
- data/guides/output/i18n.html +1198 -0
- data/guides/output/images/akshaysurve.jpg +0 -0
- data/guides/output/images/belongs_to.png +0 -0
- data/guides/output/images/book_icon.gif +0 -0
- data/guides/output/images/bullet.gif +0 -0
- data/guides/output/images/chapters_icon.gif +0 -0
- data/guides/output/images/check_bullet.gif +0 -0
- data/guides/output/images/credits_pic_blank.gif +0 -0
- data/guides/output/images/csrf.png +0 -0
- data/guides/output/images/edge_badge.png +0 -0
- data/guides/output/images/favicon.ico +0 -0
- data/guides/output/images/feature_tile.gif +0 -0
- data/guides/output/images/footer_tile.gif +0 -0
- data/guides/output/images/fxn.png +0 -0
- data/guides/output/images/getting_started/article_with_comments.png +0 -0
- data/guides/output/images/getting_started/challenge.png +0 -0
- data/guides/output/images/getting_started/confirm_dialog.png +0 -0
- data/guides/output/images/getting_started/forbidden_attributes_for_new_article.png +0 -0
- data/guides/output/images/getting_started/forbidden_attributes_for_new_post.png +0 -0
- data/guides/output/images/getting_started/form_with_errors.png +0 -0
- data/guides/output/images/getting_started/index_action_with_edit_link.png +0 -0
- data/guides/output/images/getting_started/new_article.png +0 -0
- data/guides/output/images/getting_started/new_post.png +0 -0
- data/guides/output/images/getting_started/post_with_comments.png +0 -0
- data/guides/output/images/getting_started/rails_welcome.png +0 -0
- data/guides/output/images/getting_started/routing_error_no_controller.png +0 -0
- data/guides/output/images/getting_started/routing_error_no_route_matches.png +0 -0
- data/guides/output/images/getting_started/show_action_for_articles.png +0 -0
- data/guides/output/images/getting_started/show_action_for_posts.png +0 -0
- data/guides/output/images/getting_started/template_is_missing_articles_new.png +0 -0
- data/guides/output/images/getting_started/template_is_missing_posts_new.png +0 -0
- data/guides/output/images/getting_started/undefined_method_post_path.png +0 -0
- data/guides/output/images/getting_started/unknown_action_create_for_articles.png +0 -0
- data/guides/output/images/getting_started/unknown_action_create_for_posts.png +0 -0
- data/guides/output/images/getting_started/unknown_action_new_for_articles.png +0 -0
- data/guides/output/images/getting_started/unknown_action_new_for_posts.png +0 -0
- data/guides/output/images/grey_bullet.gif +0 -0
- data/guides/output/images/habtm.png +0 -0
- data/guides/output/images/has_many.png +0 -0
- data/guides/output/images/has_many_through.png +0 -0
- data/guides/output/images/has_one.png +0 -0
- data/guides/output/images/has_one_through.png +0 -0
- data/guides/output/images/header_backdrop.png +0 -0
- data/guides/output/images/header_tile.gif +0 -0
- data/guides/output/images/i18n/demo_html_safe.png +0 -0
- data/guides/output/images/i18n/demo_localized_pirate.png +0 -0
- data/guides/output/images/i18n/demo_translated_en.png +0 -0
- data/guides/output/images/i18n/demo_translated_pirate.png +0 -0
- data/guides/output/images/i18n/demo_translation_missing.png +0 -0
- data/guides/output/images/i18n/demo_untranslated.png +0 -0
- data/guides/output/images/icons/README +5 -0
- data/guides/output/images/icons/callouts/1.png +0 -0
- data/guides/output/images/icons/callouts/10.png +0 -0
- data/guides/output/images/icons/callouts/11.png +0 -0
- data/guides/output/images/icons/callouts/12.png +0 -0
- data/guides/output/images/icons/callouts/13.png +0 -0
- data/guides/output/images/icons/callouts/14.png +0 -0
- data/guides/output/images/icons/callouts/15.png +0 -0
- data/guides/output/images/icons/callouts/2.png +0 -0
- data/guides/output/images/icons/callouts/3.png +0 -0
- data/guides/output/images/icons/callouts/4.png +0 -0
- data/guides/output/images/icons/callouts/5.png +0 -0
- data/guides/output/images/icons/callouts/6.png +0 -0
- data/guides/output/images/icons/callouts/7.png +0 -0
- data/guides/output/images/icons/callouts/8.png +0 -0
- data/guides/output/images/icons/callouts/9.png +0 -0
- data/guides/output/images/icons/caution.png +0 -0
- data/guides/output/images/icons/example.png +0 -0
- data/guides/output/images/icons/home.png +0 -0
- data/guides/output/images/icons/important.png +0 -0
- data/guides/output/images/icons/next.png +0 -0
- data/guides/output/images/icons/note.png +0 -0
- data/guides/output/images/icons/prev.png +0 -0
- data/guides/output/images/icons/tip.png +0 -0
- data/guides/output/images/icons/up.png +0 -0
- data/guides/output/images/icons/warning.png +0 -0
- data/guides/output/images/nav_arrow.gif +0 -0
- data/guides/output/images/oscardelben.jpg +0 -0
- data/guides/output/images/polymorphic.png +0 -0
- data/guides/output/images/radar.png +0 -0
- data/guides/output/images/rails4_features.png +0 -0
- data/guides/output/images/rails_guides_kindle_cover.jpg +0 -0
- data/guides/output/images/rails_guides_logo.gif +0 -0
- data/guides/output/images/rails_logo_remix.gif +0 -0
- data/guides/output/images/session_fixation.png +0 -0
- data/guides/output/images/tab_grey.gif +0 -0
- data/guides/output/images/tab_info.gif +0 -0
- data/guides/output/images/tab_note.gif +0 -0
- data/guides/output/images/tab_red.gif +0 -0
- data/guides/output/images/tab_yellow.gif +0 -0
- data/guides/output/images/tab_yellow.png +0 -0
- data/guides/output/images/vijaydev.jpg +0 -0
- data/guides/output/index.html +354 -0
- data/guides/output/initialization.html +876 -0
- data/guides/output/javascripts/guides.js +59 -0
- data/guides/output/javascripts/jquery.min.js +4 -0
- data/guides/output/javascripts/responsive-tables.js +43 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushAS3.js +59 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushAppleScript.js +75 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushBash.js +59 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushCSharp.js +65 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushColdFusion.js +100 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushCpp.js +97 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushCss.js +91 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushDelphi.js +55 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushDiff.js +41 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushErlang.js +52 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushGroovy.js +67 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushJScript.js +52 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushJava.js +57 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushJavaFX.js +58 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushPerl.js +72 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushPhp.js +88 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushPlain.js +33 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushPowerShell.js +74 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushPython.js +64 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushRuby.js +55 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushSass.js +94 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushScala.js +51 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushSql.js +66 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushVb.js +56 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushXml.js +69 -0
- data/guides/output/javascripts/syntaxhighlighter/shCore.js +17 -0
- data/guides/output/layout.html +448 -0
- data/guides/output/layouts_and_rendering.html +1541 -0
- data/guides/output/maintenance_policy.html +257 -0
- data/guides/output/migrations.html +1360 -0
- data/guides/output/nested_model_forms.html +412 -0
- data/guides/output/plugins.html +644 -0
- data/guides/output/rails_application_templates.html +450 -0
- data/guides/output/rails_on_rack.html +547 -0
- data/guides/output/routing.html +1631 -0
- data/guides/output/ruby_on_rails_guides_guidelines.html +329 -0
- data/guides/output/security.html +935 -0
- data/guides/output/stylesheets/fixes.css +16 -0
- data/guides/output/stylesheets/kindle.css +11 -0
- data/guides/output/stylesheets/main.css +713 -0
- data/guides/output/stylesheets/print.css +52 -0
- data/guides/output/stylesheets/reset.css +43 -0
- data/guides/output/stylesheets/responsive-tables.css +50 -0
- data/guides/output/stylesheets/style.css +13 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCore.css +226 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreDefault.css +328 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreDjango.css +331 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreEclipse.css +339 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreEmacs.css +324 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css +328 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreMDUltra.css +324 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreMidnight.css +324 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreRDark.css +324 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeDefault.css +117 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeDjango.css +120 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeEclipse.css +128 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeEmacs.css +113 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css +117 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeMDUltra.css +113 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeMidnight.css +113 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeRDark.css +113 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeRailsGuides.css +116 -0
- data/guides/output/testing.html +1350 -0
- data/guides/output/upgrading_ruby_on_rails.html +1135 -0
- data/guides/output/working_with_javascript_in_rails.html +587 -0
- data/guides/source/4_0_release_notes.md +2 -2
- data/guides/source/4_2_release_notes.md +9 -2
- data/guides/source/action_controller_overview.md +3 -1
- data/guides/source/action_mailer_basics.md +1 -2
- data/guides/source/active_job_basics.md +25 -2
- data/guides/source/active_model_basics.md +350 -19
- data/guides/source/active_record_basics.md +2 -2
- data/guides/source/active_record_migrations.md +1 -1
- data/guides/source/active_record_validations.md +12 -4
- data/guides/source/active_support_core_extensions.md +7 -9
- data/guides/source/active_support_instrumentation.md +2 -0
- data/guides/source/association_basics.md +7 -7
- data/guides/source/configuring.md +24 -0
- data/guides/source/contributing_to_ruby_on_rails.md +1 -1
- data/guides/source/credits.html.erb +1 -1
- data/guides/source/documents.yaml +5 -0
- data/guides/source/engines.md +2 -2
- data/guides/source/form_helpers.md +6 -0
- data/guides/source/i18n.md +6 -9
- data/guides/source/layouts_and_rendering.md +1 -1
- data/guides/source/plugins.md +2 -2
- data/guides/source/rails_on_rack.md +4 -0
- data/guides/source/testing.md +1 -0
- data/guides/source/upgrading_ruby_on_rails.md +5 -5
- metadata +227 -27
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,354 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
7
|
+
|
8
|
+
<title>Ruby on Rails Guides
|
9
|
+
</title>
|
10
|
+
<link rel="stylesheet" type="text/css" href="stylesheets/style.css" />
|
11
|
+
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
|
12
|
+
|
13
|
+
<link rel="stylesheet" type="text/css" href="stylesheets/syntaxhighlighter/shCore.css" />
|
14
|
+
<link rel="stylesheet" type="text/css" href="stylesheets/syntaxhighlighter/shThemeRailsGuides.css" />
|
15
|
+
|
16
|
+
<link rel="stylesheet" type="text/css" href="stylesheets/fixes.css" />
|
17
|
+
|
18
|
+
<link href="images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
19
|
+
</head>
|
20
|
+
<body class="guide">
|
21
|
+
<div id="topNav">
|
22
|
+
<div class="wrapper">
|
23
|
+
<strong class="more-info-label">More at <a href="http://rubyonrails.org/">rubyonrails.org:</a> </strong>
|
24
|
+
<span class="red-button more-info-button">
|
25
|
+
More Ruby on Rails
|
26
|
+
</span>
|
27
|
+
<ul class="more-info-links s-hidden">
|
28
|
+
<li class="more-info"><a href="http://rubyonrails.org/">Overview</a></li>
|
29
|
+
<li class="more-info"><a href="http://rubyonrails.org/download">Download</a></li>
|
30
|
+
<li class="more-info"><a href="http://rubyonrails.org/deploy">Deploy</a></li>
|
31
|
+
<li class="more-info"><a href="https://github.com/rails/rails">Code</a></li>
|
32
|
+
<li class="more-info"><a href="http://rubyonrails.org/screencasts">Screencasts</a></li>
|
33
|
+
<li class="more-info"><a href="http://rubyonrails.org/documentation">Documentation</a></li>
|
34
|
+
<li class="more-info"><a href="http://rubyonrails.org/community">Community</a></li>
|
35
|
+
<li class="more-info"><a href="http://weblog.rubyonrails.org/">Blog</a></li>
|
36
|
+
</ul>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
<div id="header">
|
40
|
+
<div class="wrapper clearfix">
|
41
|
+
<h1><a href="index.html" title="Return to home page">Guides.rubyonrails.org</a></h1>
|
42
|
+
<ul class="nav">
|
43
|
+
<li><a class="nav-item" href="index.html">Home</a></li>
|
44
|
+
<li class="guides-index guides-index-large">
|
45
|
+
<a href="index.html" id="guidesMenu" class="guides-index-item nav-item">Guides Index</a>
|
46
|
+
<div id="guides" class="clearfix" style="display: none;">
|
47
|
+
<hr />
|
48
|
+
<dl class="L">
|
49
|
+
<dt>Start Here</dt>
|
50
|
+
<dd><a href="getting_started.html">Getting Started with Rails</a></dd>
|
51
|
+
<dt>Models</dt>
|
52
|
+
<dd><a href="active_record_basics.html">Active Record Basics</a></dd>
|
53
|
+
<dd><a href="active_record_migrations.html">Active Record Migrations</a></dd>
|
54
|
+
<dd><a href="active_record_validations.html">Active Record Validations</a></dd>
|
55
|
+
<dd><a href="active_record_callbacks.html">Active Record Callbacks</a></dd>
|
56
|
+
<dd><a href="association_basics.html">Active Record Associations</a></dd>
|
57
|
+
<dd><a href="active_record_querying.html">Active Record Query Interface</a></dd>
|
58
|
+
<dt>Views</dt>
|
59
|
+
<dd><a href="layouts_and_rendering.html">Layouts and Rendering in Rails</a></dd>
|
60
|
+
<dd><a href="form_helpers.html">Action View Form Helpers</a></dd>
|
61
|
+
<dt>Controllers</dt>
|
62
|
+
<dd><a href="action_controller_overview.html">Action Controller Overview</a></dd>
|
63
|
+
<dd><a href="routing.html">Rails Routing from the Outside In</a></dd>
|
64
|
+
</dl>
|
65
|
+
<dl class="R">
|
66
|
+
<dt>Digging Deeper</dt>
|
67
|
+
<dd><a href="active_support_core_extensions.html">Active Support Core Extensions</a></dd>
|
68
|
+
<dd><a href="i18n.html">Rails Internationalization API</a></dd>
|
69
|
+
<dd><a href="action_mailer_basics.html">Action Mailer Basics</a></dd>
|
70
|
+
<dd><a href="active_job_basics.html">Active Job Basics</a></dd>
|
71
|
+
<dd><a href="security.html">Securing Rails Applications</a></dd>
|
72
|
+
<dd><a href="debugging_rails_applications.html">Debugging Rails Applications</a></dd>
|
73
|
+
<dd><a href="configuring.html">Configuring Rails Applications</a></dd>
|
74
|
+
<dd><a href="command_line.html">Rails Command Line Tools and Rake Tasks</a></dd>
|
75
|
+
<dd><a href="asset_pipeline.html">Asset Pipeline</a></dd>
|
76
|
+
<dd><a href="working_with_javascript_in_rails.html">Working with JavaScript in Rails</a></dd>
|
77
|
+
<dt>Extending Rails</dt>
|
78
|
+
<dd><a href="rails_on_rack.html">Rails on Rack</a></dd>
|
79
|
+
<dd><a href="generators.html">Creating and Customizing Rails Generators</a></dd>
|
80
|
+
<dt>Contributing to Ruby on Rails</dt>
|
81
|
+
<dd><a href="contributing_to_ruby_on_rails.html">Contributing to Ruby on Rails</a></dd>
|
82
|
+
<dd><a href="api_documentation_guidelines.html">API Documentation Guidelines</a></dd>
|
83
|
+
<dd><a href="ruby_on_rails_guides_guidelines.html">Ruby on Rails Guides Guidelines</a></dd>
|
84
|
+
<dt>Maintenance Policy</dt>
|
85
|
+
<dd><a href="maintenance_policy.html">Maintenance Policy</a></dd>
|
86
|
+
<dt>Release Notes</dt>
|
87
|
+
<dd><a href="upgrading_ruby_on_rails.html">Upgrading Ruby on Rails</a></dd>
|
88
|
+
<dd><a href="4_1_release_notes.html">Ruby on Rails 4.1 Release Notes</a></dd>
|
89
|
+
<dd><a href="4_0_release_notes.html">Ruby on Rails 4.0 Release Notes</a></dd>
|
90
|
+
<dd><a href="3_2_release_notes.html">Ruby on Rails 3.2 Release Notes</a></dd>
|
91
|
+
<dd><a href="3_1_release_notes.html">Ruby on Rails 3.1 Release Notes</a></dd>
|
92
|
+
<dd><a href="3_0_release_notes.html">Ruby on Rails 3.0 Release Notes</a></dd>
|
93
|
+
<dd><a href="2_3_release_notes.html">Ruby on Rails 2.3 Release Notes</a></dd>
|
94
|
+
<dd><a href="2_2_release_notes.html">Ruby on Rails 2.2 Release Notes</a></dd>
|
95
|
+
</dl>
|
96
|
+
</div>
|
97
|
+
</li>
|
98
|
+
<li><a class="nav-item" href="contributing_to_ruby_on_rails.html">Contribute</a></li>
|
99
|
+
<li><a class="nav-item" href="credits.html">Credits</a></li>
|
100
|
+
<li class="guides-index guides-index-small">
|
101
|
+
<select class="guides-index-item nav-item">
|
102
|
+
<option value="index.html">Guides Index</option>
|
103
|
+
<optgroup label="Start Here">
|
104
|
+
<option value="getting_started.html">Getting Started with Rails</option>
|
105
|
+
</optgroup>
|
106
|
+
<optgroup label="Models">
|
107
|
+
<option value="active_record_basics.html">Active Record Basics</option>
|
108
|
+
<option value="active_record_migrations.html">Active Record Migrations</option>
|
109
|
+
<option value="active_record_validations.html">Active Record Validations</option>
|
110
|
+
<option value="active_record_callbacks.html">Active Record Callbacks</option>
|
111
|
+
<option value="association_basics.html">Active Record Associations</option>
|
112
|
+
<option value="active_record_querying.html">Active Record Query Interface</option>
|
113
|
+
</optgroup>
|
114
|
+
<optgroup label="Views">
|
115
|
+
<option value="layouts_and_rendering.html">Layouts and Rendering in Rails</option>
|
116
|
+
<option value="form_helpers.html">Action View Form Helpers</option>
|
117
|
+
</optgroup>
|
118
|
+
<optgroup label="Controllers">
|
119
|
+
<option value="action_controller_overview.html">Action Controller Overview</option>
|
120
|
+
<option value="routing.html">Rails Routing from the Outside In</option>
|
121
|
+
</optgroup>
|
122
|
+
<optgroup label="Digging Deeper">
|
123
|
+
<option value="active_support_core_extensions.html">Active Support Core Extensions</option>
|
124
|
+
<option value="i18n.html">Rails Internationalization API</option>
|
125
|
+
<option value="action_mailer_basics.html">Action Mailer Basics</option>
|
126
|
+
<option value="active_job_basics.html">Active Job Basics</option>
|
127
|
+
<option value="security.html">Securing Rails Applications</option>
|
128
|
+
<option value="debugging_rails_applications.html">Debugging Rails Applications</option>
|
129
|
+
<option value="configuring.html">Configuring Rails Applications</option>
|
130
|
+
<option value="command_line.html">Rails Command Line Tools and Rake Tasks</option>
|
131
|
+
<option value="asset_pipeline.html">Asset Pipeline</option>
|
132
|
+
<option value="working_with_javascript_in_rails.html">Working with JavaScript in Rails</option>
|
133
|
+
</optgroup>
|
134
|
+
<optgroup label="Extending Rails">
|
135
|
+
<option value="rails_on_rack.html">Rails on Rack</option>
|
136
|
+
<option value="generators.html">Creating and Customizing Rails Generators</option>
|
137
|
+
</optgroup>
|
138
|
+
<optgroup label="Contributing to Ruby on Rails">
|
139
|
+
<option value="contributing_to_ruby_on_rails.html">Contributing to Ruby on Rails</option>
|
140
|
+
<option value="api_documentation_guidelines.html">API Documentation Guidelines</option>
|
141
|
+
<option value="ruby_on_rails_guides_guidelines.html">Ruby on Rails Guides Guidelines</option>
|
142
|
+
</optgroup>
|
143
|
+
<optgroup label="Maintenance Policy">
|
144
|
+
<option value="maintenance_policy.html">Maintenance Policy</option>
|
145
|
+
</optgroup>
|
146
|
+
<optgroup label="Release Notes">
|
147
|
+
<option value="upgrading_ruby_on_rails.html">Upgrading Ruby on Rails</option>
|
148
|
+
<option value="4_1_release_notes.html">Ruby on Rails 4.1 Release Notes</option>
|
149
|
+
<option value="4_0_release_notes.html">Ruby on Rails 4.0 Release Notes</option>
|
150
|
+
<option value="3_2_release_notes.html">Ruby on Rails 3.2 Release Notes</option>
|
151
|
+
<option value="3_1_release_notes.html">Ruby on Rails 3.1 Release Notes</option>
|
152
|
+
<option value="3_0_release_notes.html">Ruby on Rails 3.0 Release Notes</option>
|
153
|
+
<option value="2_3_release_notes.html">Ruby on Rails 2.3 Release Notes</option>
|
154
|
+
<option value="2_2_release_notes.html">Ruby on Rails 2.2 Release Notes</option>
|
155
|
+
</optgroup>
|
156
|
+
</select>
|
157
|
+
</li>
|
158
|
+
</ul>
|
159
|
+
</div>
|
160
|
+
</div>
|
161
|
+
<hr class="hide" />
|
162
|
+
|
163
|
+
<div id="feature">
|
164
|
+
<div class="wrapper">
|
165
|
+
<h2>Ruby on Rails Guides (local)</h2>
|
166
|
+
|
167
|
+
<p>
|
168
|
+
These are the new guides for Rails 4.2 based on <a href="https://github.com/rails/rails/tree/local">local</a>.
|
169
|
+
These guides are designed to make you immediately productive with Rails, and to help you understand how all of the pieces fit together.
|
170
|
+
</p>
|
171
|
+
<p>
|
172
|
+
The guides for earlier releases: <a href="http://guides.rubyonrails.org/v4.1.4/">Rails 4.1.4</a>, <a href="http://guides.rubyonrails.org/v4.0.8/">Rails 4.0.8</a>, <a href="http://guides.rubyonrails.org/v3.2.19/">Rails 3.2.19</a> and <a href="http://guides.rubyonrails.org/v2.3.11/">Rails 2.3.11</a>.
|
173
|
+
</p>
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
<div id="subCol">
|
178
|
+
<dl>
|
179
|
+
<dt></dt>
|
180
|
+
<dd class="kindle">Rails Guides are also available for <a href="kindle/ruby_on_rails_guides_local.mobi">Kindle</a>.</dd>
|
181
|
+
<dd class="work-in-progress">Guides marked with this icon are currently being worked on and will not be available in the Guides Index menu. While still useful, they may contain incomplete information and even errors. You can help by reviewing them and posting your comments and corrections.</dd>
|
182
|
+
</dl>
|
183
|
+
</div>
|
184
|
+
|
185
|
+
</div>
|
186
|
+
</div>
|
187
|
+
|
188
|
+
<div id="container">
|
189
|
+
<div class="wrapper">
|
190
|
+
<div id="mainCol">
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
<h3>Start Here</h3>
|
195
|
+
<dl>
|
196
|
+
<dt><a href="getting_started.html">Getting Started with Rails</a></dt><dd>
|
197
|
+
<p>Everything you need to know to install Rails and create your first application.</p>
|
198
|
+
</dd> </dl>
|
199
|
+
<h3>Models</h3>
|
200
|
+
<dl>
|
201
|
+
<dt><a href="active_record_basics.html">Active Record Basics</a></dt><dd>
|
202
|
+
<p>This guide will get you started with models, persistence to database and the Active Record pattern and library.</p>
|
203
|
+
</dd> <dt><a href="active_record_migrations.html">Active Record Migrations</a></dt><dd>
|
204
|
+
<p>This guide covers how you can use Active Record migrations to alter your database in a structured and organized manner.</p>
|
205
|
+
</dd> <dt><a href="active_record_validations.html">Active Record Validations</a></dt><dd>
|
206
|
+
<p>This guide covers how you can use Active Record validations</p>
|
207
|
+
</dd> <dt><a href="active_record_callbacks.html">Active Record Callbacks</a></dt><dd>
|
208
|
+
<p>This guide covers how you can use Active Record callbacks.</p>
|
209
|
+
</dd> <dt><a href="association_basics.html">Active Record Associations</a></dt><dd>
|
210
|
+
<p>This guide covers all the associations provided by Active Record.</p>
|
211
|
+
</dd> <dt><a href="active_record_querying.html">Active Record Query Interface</a></dt><dd>
|
212
|
+
<p>This guide covers the database query interface provided by Active Record.</p>
|
213
|
+
</dd> </dl>
|
214
|
+
<h3>Views</h3>
|
215
|
+
<dl>
|
216
|
+
<dt><a href="action_view_overview.html">Action View Overview</a></dt><dd class="work-in-progress">Work in progress</dd><dd>
|
217
|
+
<p>This guide provides an introduction to Action View and introduces a few of the more common view helpers.</p>
|
218
|
+
</dd> <dt><a href="layouts_and_rendering.html">Layouts and Rendering in Rails</a></dt><dd>
|
219
|
+
<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>
|
220
|
+
</dd> <dt><a href="form_helpers.html">Action View Form Helpers</a></dt><dd>
|
221
|
+
<p>Guide to using built-in Form helpers.</p>
|
222
|
+
</dd> </dl>
|
223
|
+
<h3>Controllers</h3>
|
224
|
+
<dl>
|
225
|
+
<dt><a href="action_controller_overview.html">Action Controller Overview</a></dt><dd>
|
226
|
+
<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>
|
227
|
+
</dd> <dt><a href="routing.html">Rails Routing from the Outside In</a></dt><dd>
|
228
|
+
<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>
|
229
|
+
</dd> </dl>
|
230
|
+
<h3>Digging Deeper</h3>
|
231
|
+
<dl>
|
232
|
+
<dt><a href="active_support_core_extensions.html">Active Support Core Extensions</a></dt><dd>
|
233
|
+
<p>This guide documents the Ruby core extensions defined in Active Support.</p>
|
234
|
+
</dd> <dt><a href="i18n.html">Rails Internationalization API</a></dt><dd>
|
235
|
+
<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>
|
236
|
+
</dd> <dt><a href="action_mailer_basics.html">Action Mailer Basics</a></dt><dd>
|
237
|
+
<p>This guide describes how to use Action Mailer to send and receive emails.</p>
|
238
|
+
</dd> <dt><a href="active_job_basics.html">Active Job Basics</a></dt><dd>
|
239
|
+
<p>This guide provides you with all you need to get started in creating, enqueueing and executing background jobs.</p>
|
240
|
+
</dd> <dt><a href="testing.html">Testing Rails Applications</a></dt><dd class="work-in-progress">Work in progress</dd><dd>
|
241
|
+
<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>
|
242
|
+
</dd> <dt><a href="security.html">Securing Rails Applications</a></dt><dd>
|
243
|
+
<p>This guide describes common security problems in web applications and how to avoid them with Rails.</p>
|
244
|
+
</dd> <dt><a href="debugging_rails_applications.html">Debugging Rails Applications</a></dt><dd>
|
245
|
+
<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>
|
246
|
+
</dd> <dt><a href="configuring.html">Configuring Rails Applications</a></dt><dd>
|
247
|
+
<p>This guide covers the basic configuration settings for a Rails application.</p>
|
248
|
+
</dd> <dt><a href="command_line.html">Rails Command Line Tools and Rake Tasks</a></dt><dd>
|
249
|
+
<p>This guide covers the command line tools and rake tasks provided by Rails.</p>
|
250
|
+
</dd> <dt><a href="asset_pipeline.html">Asset Pipeline</a></dt><dd>
|
251
|
+
<p>This guide documents the asset pipeline.</p>
|
252
|
+
</dd> <dt><a href="working_with_javascript_in_rails.html">Working with JavaScript in Rails</a></dt><dd>
|
253
|
+
<p>This guide covers the built-in Ajax/JavaScript functionality of Rails.</p>
|
254
|
+
</dd> <dt><a href="engines.html">Getting Started with Engines</a></dt><dd class="work-in-progress">Work in progress</dd><dd>
|
255
|
+
<p>This guide explains how to write a mountable engine.</p>
|
256
|
+
</dd> <dt><a href="initialization.html">The Rails Initialization Process</a></dt><dd class="work-in-progress">Work in progress</dd><dd>
|
257
|
+
<p>This guide explains the internals of the Rails initialization process as of Rails 4</p>
|
258
|
+
</dd> </dl>
|
259
|
+
<h3>Extending Rails</h3>
|
260
|
+
<dl>
|
261
|
+
<dt><a href="plugins.html">The Basics of Creating Rails Plugins</a></dt><dd class="work-in-progress">Work in progress</dd><dd>
|
262
|
+
<p>This guide covers how to build a plugin to extend the functionality of Rails.</p>
|
263
|
+
</dd> <dt><a href="rails_on_rack.html">Rails on Rack</a></dt><dd>
|
264
|
+
<p>This guide covers Rails integration with Rack and interfacing with other Rack components.</p>
|
265
|
+
</dd> <dt><a href="generators.html">Creating and Customizing Rails Generators</a></dt><dd>
|
266
|
+
<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>
|
267
|
+
</dd> </dl>
|
268
|
+
<h3>Contributing to Ruby on Rails</h3>
|
269
|
+
<dl>
|
270
|
+
<dt><a href="contributing_to_ruby_on_rails.html">Contributing to Ruby on Rails</a></dt><dd>
|
271
|
+
<p>Rails is not 'somebody else's framework.' This guide covers a variety of ways that you can get involved in the ongoing development of Rails.</p>
|
272
|
+
</dd> <dt><a href="api_documentation_guidelines.html">API Documentation Guidelines</a></dt><dd>
|
273
|
+
<p>This guide documents the Ruby on Rails API documentation guidelines.</p>
|
274
|
+
</dd> <dt><a href="ruby_on_rails_guides_guidelines.html">Ruby on Rails Guides Guidelines</a></dt><dd>
|
275
|
+
<p>This guide documents the Ruby on Rails guides guidelines.</p>
|
276
|
+
</dd> </dl>
|
277
|
+
<h3>Maintenance Policy</h3>
|
278
|
+
<dl>
|
279
|
+
<dt><a href="maintenance_policy.html">Maintenance Policy</a></dt><dd>
|
280
|
+
<p>What versions of Ruby on Rails are currently supported, and when to expect new versions.</p>
|
281
|
+
</dd> </dl>
|
282
|
+
<h3>Release Notes</h3>
|
283
|
+
<dl>
|
284
|
+
<dt><a href="upgrading_ruby_on_rails.html">Upgrading Ruby on Rails</a></dt><dd>
|
285
|
+
<p>This guide helps in upgrading applications to latest Ruby on Rails versions.</p>
|
286
|
+
</dd> <dt><a href="4_2_release_notes.html">Ruby on Rails 4.2 Release Notes</a></dt><dd class="work-in-progress">Work in progress</dd><dd>
|
287
|
+
<p>Release notes for Rails 4.2.</p>
|
288
|
+
</dd> <dt><a href="4_1_release_notes.html">Ruby on Rails 4.1 Release Notes</a></dt><dd>
|
289
|
+
<p>Release notes for Rails 4.1.</p>
|
290
|
+
</dd> <dt><a href="4_0_release_notes.html">Ruby on Rails 4.0 Release Notes</a></dt><dd>
|
291
|
+
<p>Release notes for Rails 4.0.</p>
|
292
|
+
</dd> <dt><a href="3_2_release_notes.html">Ruby on Rails 3.2 Release Notes</a></dt><dd>
|
293
|
+
<p>Release notes for Rails 3.2.</p>
|
294
|
+
</dd> <dt><a href="3_1_release_notes.html">Ruby on Rails 3.1 Release Notes</a></dt><dd>
|
295
|
+
<p>Release notes for Rails 3.1.</p>
|
296
|
+
</dd> <dt><a href="3_0_release_notes.html">Ruby on Rails 3.0 Release Notes</a></dt><dd>
|
297
|
+
<p>Release notes for Rails 3.0.</p>
|
298
|
+
</dd> <dt><a href="2_3_release_notes.html">Ruby on Rails 2.3 Release Notes</a></dt><dd>
|
299
|
+
<p>Release notes for Rails 2.3.</p>
|
300
|
+
</dd> <dt><a href="2_2_release_notes.html">Ruby on Rails 2.2 Release Notes</a></dt><dd>
|
301
|
+
<p>Release notes for Rails 2.2.</p>
|
302
|
+
</dd> </dl>
|
303
|
+
|
304
|
+
|
305
|
+
<h3>Feedback</h3>
|
306
|
+
<p>
|
307
|
+
You're encouraged to help improve the quality of this guide.
|
308
|
+
</p>
|
309
|
+
<p>
|
310
|
+
Please contribute if you see any typos or factual errors.
|
311
|
+
To get started, you can read our <a href="http://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#contributing-to-the-rails-documentation">documentation contributions</a> section.
|
312
|
+
</p>
|
313
|
+
<p>
|
314
|
+
You may also find incomplete content, or stuff that is not up to date.
|
315
|
+
Please do add any missing documentation for master. Make sure to check
|
316
|
+
<a href="http://edgeguides.rubyonrails.org">Edge Guides</a> first to verify
|
317
|
+
if the issues are already fixed or not on the master branch.
|
318
|
+
Check the <a href="ruby_on_rails_guides_guidelines.html">Ruby on Rails Guides Guidelines</a>
|
319
|
+
for style and conventions.
|
320
|
+
</p>
|
321
|
+
<p>
|
322
|
+
If for whatever reason you spot something to fix but cannot patch it yourself, please
|
323
|
+
<a href="https://github.com/rails/rails/issues">open an issue</a>.
|
324
|
+
</p>
|
325
|
+
<p>And last but not least, any kind of discussion regarding Ruby on Rails
|
326
|
+
documentation is very welcome in the <a href="http://groups.google.com/group/rubyonrails-docs">rubyonrails-docs mailing list</a>.
|
327
|
+
</p>
|
328
|
+
</div>
|
329
|
+
</div>
|
330
|
+
</div>
|
331
|
+
|
332
|
+
<hr class="hide" />
|
333
|
+
<div id="footer">
|
334
|
+
<div class="wrapper">
|
335
|
+
<p>This work is licensed under a <a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International</a> License</p>
|
336
|
+
<p>"Rails", "Ruby on Rails", and the Rails logo are trademarks of David Heinemeier Hansson. All rights reserved.</p>
|
337
|
+
|
338
|
+
</div>
|
339
|
+
</div>
|
340
|
+
|
341
|
+
<script type="text/javascript" src="javascripts/jquery.min.js"></script>
|
342
|
+
<script type="text/javascript" src="javascripts/responsive-tables.js"></script>
|
343
|
+
<script type="text/javascript" src="javascripts/guides.js"></script>
|
344
|
+
<script type="text/javascript" src="javascripts/syntaxhighlighter/shCore.js"></script>
|
345
|
+
<script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushRuby.js"></script>
|
346
|
+
<script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushXml.js"></script>
|
347
|
+
<script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushSql.js"></script>
|
348
|
+
<script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushPlain.js"></script>
|
349
|
+
<script type="text/javascript">
|
350
|
+
SyntaxHighlighter.all();
|
351
|
+
$(guidesIndex.bind);
|
352
|
+
</script>
|
353
|
+
</body>
|
354
|
+
</html>
|