Permalink
Browse files

* Tabs -> Spaces in guides templates

* Move inline css to a file
  • Loading branch information...
1 parent 7d2e3ef commit ea21b23b92fec1eb5fcc180f8bc054151216538b @lifo lifo committed Jan 16, 2009
Showing with 2,713 additions and 6,406 deletions.
  1. +122 −290 railties/doc/guides/html/2_2_release_notes.html
  2. +119 −287 railties/doc/guides/html/actioncontroller_basics.html
  3. +131 −299 railties/doc/guides/html/active_record_querying.html
  4. +171 −339 railties/doc/guides/html/activerecord_validations_callbacks.html
  5. +97 −265 railties/doc/guides/html/association_basics.html
  6. +29 −197 railties/doc/guides/html/authors.html
  7. +59 −227 railties/doc/guides/html/caching_with_rails.html
  8. +59 −227 railties/doc/guides/html/command_line.html
  9. +73 −241 railties/doc/guides/html/configuring.html
  10. +131 −299 railties/doc/guides/html/creating_plugins.html
  11. +110 −278 railties/doc/guides/html/debugging_rails_applications.html
  12. +129 −297 railties/doc/guides/html/form_helpers.html
  13. +137 −305 railties/doc/guides/html/getting_started_with_rails.html
  14. +113 −281 railties/doc/guides/html/i18n.html
  15. +29 −197 railties/doc/guides/html/index.html
  16. +69 −237 railties/doc/guides/html/layouts_and_rendering.html
  17. +109 −277 railties/doc/guides/html/migrations.html
  18. +100 −268 railties/doc/guides/html/performance_testing.html
  19. +80 −248 railties/doc/guides/html/rails_on_rack.html
  20. +152 −320 railties/doc/guides/html/routing_outside_in.html
  21. +149 −317 railties/doc/guides/html/security.html
  22. +122 −290 railties/doc/guides/html/testing_rails_applications.html
  23. +160 −160 railties/doc/guides/source/stylesheets/base.css
  24. +4 −4 railties/doc/guides/source/stylesheets/forms.css
  25. +176 −5 railties/doc/guides/source/stylesheets/more.css
  26. +83 −86 railties/doc/guides/source/templates/guides.html.erb
  27. +0 −165 railties/doc/guides/source/templates/inline.css

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,273 +1,105 @@
<!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>A Guide to Active Record Associations</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" />
- <style type="text/css">
- div#container {
- max-width: 900px;
- padding-bottom: 3em;
-}
-
-div#content {
- margin-left: 200px;
-}
-
-div#container.notoc {
- max-width: 600px;
-}
-
-.notoc div#content {
- margin-left: 0;
-}
-
-pre {
- line-height: 1.4em;
-}
-
-#content p tt {
- background: #eeeeee;
- border: solid 1px #cccccc;
- padding: 3px;
-}
-
-dt {
- font-weight: bold;
-}
-
-#content dt tt {
- font-size: 10pt;
-}
-
-dd {
- margin-left: 3em;
-}
-
-#content dt tt, #content pre tt {
- background: none;
- padding: 0;
- border: 0;
-}
-
-#content .olist ol {
- margin-left: 2em;
-}
-
-#header {
- position: relative;
- max-width: 840px;
- margin-left: auto;
- margin-right: auto;
-}
-
-#header.notoc {
- max-width: 580px;
-}
-
-#logo {
- position: absolute;
- left: 10px;
- top: 10px;
- width: 110px;
- height: 140px;
-}
-
-div#header h1#site_title {
- background: url('images/ruby_on_rails_by_mike_rundle2.gif') top left no-repeat;
- position: absolute;
- width: 392px;
- height: 55px;
- left: 145px;
- top: 20px;
- margin: 0;
- padding: 0;
-}
-
-#site_title span {
- display: none;
-}
-
-#site_title_tagline {
- display: none;
-}
-
-ul#navMain {
- position: absolute;
- margin: 0;
- padding: 0;
- top: 97px;
- left: 145px;
-}
-
-.left-floaty, .right-floaty {
- padding: 15px;
-}
-
-.admonitionblock,
-.tableblock {
- margin-left: 1em;
- margin-right: 1em;
- margin-top: 0.25em;
- margin-bottom: 1em;
-}
-
-.admonitionblock .icon {
- padding-right: 8px;
-}
-
-.admonitionblock .content {
- border: solid 1px #ffda78;
- background: #fffebd;
- padding: 10px;
- padding-top: 8px;
- padding-bottom: 8px;
-}
-
-.admonitionblock .title {
- font-size: 140%;
- margin-bottom: 0.5em;
-}
-
-.tableblock table {
- border: solid 1px #aaaaff;
- background: #f0f0ff;
-}
-
-.tableblock th {
- background: #e0e0e0;
-}
-
-.tableblock th,
-.tableblock td {
- padding: 3px;
- padding-left: 5px;
- padding-right: 5px;
-}
-
-.sidebarblock {
- margin-top: 0.25em;
- margin: 1em;
- border: solid 1px #ccccbb;
- padding: 8px;
- background: #ffffe0;
-}
-
-.sidebarblock .sidebar-title {
- font-size: 140%;
- font-weight: 600;
- margin-bottom: 0.3em;
-}
-
-.sidebarblock .sidebar-content > .para:last-child > p {
- margin-bottom: 0;
-}
-
-.sidebarblock .sidebar-title a {
- text-decoration: none;
-}
-
-.sidebarblock .sidebar-title a:hover {
- text-decoration: underline;
-}
-
- </style>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>A Guide to Active Record Associations</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" >
- <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>
+ <div id="header" >
+ <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>
+ <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">
-
- <div id="sidebar">
- <h2>Chapters</h2>
- <ol>
- <li>
- <a href="#_why_associations">Why Associations?</a>
- </li>
- <li>
- <a href="#_the_types_of_associations">The Types of Associations</a>
- <ul>
-
- <li><a href="#_the_tt_belongs_to_tt_association">The <tt>belongs_to</tt> Association</a></li>
-
- <li><a href="#_the_tt_has_one_tt_association">The <tt>has_one</tt> Association</a></li>
-
- <li><a href="#_the_tt_has_many_tt_association">The <tt>has_many</tt> Association</a></li>
-
- <li><a href="#_the_tt_has_many_through_tt_association">The <tt>has_many :through</tt> Association</a></li>
-
- <li><a href="#_the_tt_has_one_through_tt_association">The <tt>has_one :through</tt> Association</a></li>
-
- <li><a href="#_the_tt_has_and_belongs_to_many_tt_association">The <tt>has_and_belongs_to_many</tt> Association</a></li>
-
- <li><a href="#_choosing_between_tt_belongs_to_tt_and_tt_has_one_tt">Choosing Between <tt>belongs_to</tt> and <tt>has_one</tt></a></li>
-
- <li><a href="#_choosing_between_tt_has_many_through_tt_and_tt_has_and_belongs_to_many_tt">Choosing Between <tt>has_many :through</tt> and <tt>has_and_belongs_to_many</tt></a></li>
-
- <li><a href="#_polymorphic_associations">Polymorphic Associations</a></li>
-
- <li><a href="#_self_joins">Self Joins</a></li>
-
- </ul>
- </li>
- <li>
- <a href="#_tips_tricks_and_warnings">Tips, Tricks, and Warnings</a>
- <ul>
-
- <li><a href="#_controlling_caching">Controlling Caching</a></li>
-
- <li><a href="#_avoiding_name_collisions">Avoiding Name Collisions</a></li>
-
- <li><a href="#_updating_the_schema">Updating the Schema</a></li>
-
- <li><a href="#_controlling_association_scope">Controlling Association Scope</a></li>
-
- </ul>
- </li>
- <li>
- <a href="#_detailed_association_reference">Detailed Association Reference</a>
- <ul>
-
- <li><a href="#_the_tt_belongs_to_tt_association_2">The <tt>belongs_to</tt> Association</a></li>
-
- <li><a href="#_the_has_one_association">The has_one Association</a></li>
-
- <li><a href="#_the_has_many_association">The has_many Association</a></li>
-
- <li><a href="#_the_tt_has_and_belongs_to_many_tt_association_2">The <tt>has_and_belongs_to_many</tt> Association</a></li>
-
- <li><a href="#_association_callbacks">Association Callbacks</a></li>
-
- <li><a href="#_association_extensions">Association Extensions</a></li>
-
- </ul>
- </li>
- <li>
- <a href="#_changelog">Changelog</a>
- </li>
- </ol>
- </div>
-
- <div id="content">
- <h1>A Guide to Active Record Associations</h1>
- <div id="preamble">
+ <div id="container">
+
+ <div id="sidebar">
+ <h2>Chapters</h2>
+ <ol>
+ <li>
+ <a href="#_why_associations">Why Associations?</a>
+ </li>
+ <li>
+ <a href="#_the_types_of_associations">The Types of Associations</a>
+ <ul>
+
+ <li><a href="#_the_tt_belongs_to_tt_association">The <tt>belongs_to</tt> Association</a></li>
+
+ <li><a href="#_the_tt_has_one_tt_association">The <tt>has_one</tt> Association</a></li>
+
+ <li><a href="#_the_tt_has_many_tt_association">The <tt>has_many</tt> Association</a></li>
+
+ <li><a href="#_the_tt_has_many_through_tt_association">The <tt>has_many :through</tt> Association</a></li>
+
+ <li><a href="#_the_tt_has_one_through_tt_association">The <tt>has_one :through</tt> Association</a></li>
+
+ <li><a href="#_the_tt_has_and_belongs_to_many_tt_association">The <tt>has_and_belongs_to_many</tt> Association</a></li>
+
+ <li><a href="#_choosing_between_tt_belongs_to_tt_and_tt_has_one_tt">Choosing Between <tt>belongs_to</tt> and <tt>has_one</tt></a></li>
+
+ <li><a href="#_choosing_between_tt_has_many_through_tt_and_tt_has_and_belongs_to_many_tt">Choosing Between <tt>has_many :through</tt> and <tt>has_and_belongs_to_many</tt></a></li>
+
+ <li><a href="#_polymorphic_associations">Polymorphic Associations</a></li>
+
+ <li><a href="#_self_joins">Self Joins</a></li>
+
+ </ul>
+ </li>
+ <li>
+ <a href="#_tips_tricks_and_warnings">Tips, Tricks, and Warnings</a>
+ <ul>
+
+ <li><a href="#_controlling_caching">Controlling Caching</a></li>
+
+ <li><a href="#_avoiding_name_collisions">Avoiding Name Collisions</a></li>
+
+ <li><a href="#_updating_the_schema">Updating the Schema</a></li>
+
+ <li><a href="#_controlling_association_scope">Controlling Association Scope</a></li>
+
+ </ul>
+ </li>
+ <li>
+ <a href="#_detailed_association_reference">Detailed Association Reference</a>
+ <ul>
+
+ <li><a href="#_the_tt_belongs_to_tt_association_2">The <tt>belongs_to</tt> Association</a></li>
+
+ <li><a href="#_the_has_one_association">The has_one Association</a></li>
+
+ <li><a href="#_the_has_many_association">The has_many Association</a></li>
+
+ <li><a href="#_the_tt_has_and_belongs_to_many_tt_association_2">The <tt>has_and_belongs_to_many</tt> Association</a></li>
+
+ <li><a href="#_association_callbacks">Association Callbacks</a></li>
+
+ <li><a href="#_association_extensions">Association Extensions</a></li>
+
+ </ul>
+ </li>
+ <li>
+ <a href="#_changelog">Changelog</a>
+ </li>
+ </ol>
+ </div>
+
+ <div id="content">
+ <h1>A Guide to Active Record Associations</h1>
+ <div id="preamble">
<div class="sectionbody">
<div class="paragraph"><p>This guide covers the association features of Active Record. By referring to this guide, you will be able to:</p></div>
<div class="ulist"><ul>
@@ -2477,7 +2309,7 @@ <h2 id="_changelog">5. Changelog</h2>
</ul></div>
</div>
- </div>
- </div>
+ </div>
+ </div>
</body>
</html>
Oops, something went wrong.

0 comments on commit ea21b23

Please sign in to comment.