From ea21b23b92fec1eb5fcc180f8bc054151216538b Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Fri, 16 Jan 2009 04:34:34 +0000 Subject: * Tabs -> Spaces in guides templates * Move inline css to a file --- railties/doc/guides/html/2_2_release_notes.html | 412 +++++------------ .../doc/guides/html/actioncontroller_basics.html | 406 +++++----------- .../doc/guides/html/active_record_querying.html | 430 ++++++----------- .../html/activerecord_validations_callbacks.html | 510 +++++++-------------- railties/doc/guides/html/association_basics.html | 362 ++++----------- railties/doc/guides/html/authors.html | 226 ++------- railties/doc/guides/html/caching_with_rails.html | 286 +++--------- railties/doc/guides/html/command_line.html | 286 +++--------- railties/doc/guides/html/configuring.html | 314 +++---------- railties/doc/guides/html/creating_plugins.html | 430 ++++++----------- .../guides/html/debugging_rails_applications.html | 388 +++++----------- railties/doc/guides/html/form_helpers.html | 426 ++++++----------- .../guides/html/getting_started_with_rails.html | 442 ++++++------------ railties/doc/guides/html/i18n.html | 394 +++++----------- railties/doc/guides/html/index.html | 226 ++------- .../doc/guides/html/layouts_and_rendering.html | 306 +++---------- railties/doc/guides/html/migrations.html | 386 +++++----------- railties/doc/guides/html/performance_testing.html | 368 ++++----------- railties/doc/guides/html/rails_on_rack.html | 328 ++++--------- railties/doc/guides/html/routing_outside_in.html | 472 ++++++------------- railties/doc/guides/html/security.html | 466 ++++++------------- .../guides/html/testing_rails_applications.html | 412 +++++------------ 22 files changed, 2290 insertions(+), 5986 deletions(-) (limited to 'railties/doc/guides/html') diff --git a/railties/doc/guides/html/2_2_release_notes.html b/railties/doc/guides/html/2_2_release_notes.html index b886df7aca..0dec014c3e 100644 --- a/railties/doc/guides/html/2_2_release_notes.html +++ b/railties/doc/guides/html/2_2_release_notes.html @@ -1,296 +1,128 @@ - - Ruby on Rails 2.2 Release Notes - - - - - + + Ruby on Rails 2.2 Release Notes + + + + - - -
- - - -
-

Ruby on Rails 2.2 Release Notes

-
+ + +
+ + + +
+

Ruby on Rails 2.2 Release Notes

+

Rails 2.2 delivers a number of new and improved features. This list covers the major upgrades, but doesn’t include every little bug fix and change. If you want to see everything, check out the list of commits in the main Rails repository on GitHub.

Along with Rails, 2.2 marks the launch of the Ruby on Rails Guides, the first results of the ongoing Rails Guides hackfest. This site will deliver high-quality documentation of the major features of Rails.

@@ -1168,7 +1000,7 @@ Durations of fractional months or fractional years are deprecated. Use Ruby̵

Release notes compiled by Mike Gunderloy

-
-
+
+
diff --git a/railties/doc/guides/html/actioncontroller_basics.html b/railties/doc/guides/html/actioncontroller_basics.html index c859a2893e..f5b25a4d7a 100644 --- a/railties/doc/guides/html/actioncontroller_basics.html +++ b/railties/doc/guides/html/actioncontroller_basics.html @@ -1,295 +1,127 @@ - - Action Controller basics - - - - - + + Action Controller basics + + + + - -
- - - -
-

Action Controller basics

-
+
+ + + +
+

Action Controller basics

+

In this guide you will learn how controllers work and how they fit into the request cycle in your application. After reading this guide, you will be able to:

    @@ -1198,7 +1030,7 @@ November 4, 2008: First release version by Tore Darrell
-
-
+
+
diff --git a/railties/doc/guides/html/active_record_querying.html b/railties/doc/guides/html/active_record_querying.html index 043e5120d1..cc2a6b7e4a 100644 --- a/railties/doc/guides/html/active_record_querying.html +++ b/railties/doc/guides/html/active_record_querying.html @@ -1,305 +1,137 @@ - - Active Record Query Interface - - - - - + + Active Record Query Interface + + + + - - -
- - - -
-

Active Record Query Interface

-
+ + +
+ + + +
+

Active Record Query Interface

+

This guide covers different ways to retrieve data from the database using Active Record. By referring to this guide, you will be able to:

    @@ -1094,7 +926,7 @@ December 29 2008: Initial version by Ryan Bigg
-
-
+
+
diff --git a/railties/doc/guides/html/activerecord_validations_callbacks.html b/railties/doc/guides/html/activerecord_validations_callbacks.html index 0106c6fc38..be556283c1 100644 --- a/railties/doc/guides/html/activerecord_validations_callbacks.html +++ b/railties/doc/guides/html/activerecord_validations_callbacks.html @@ -1,346 +1,178 @@ - - Active Record Validations and Callbacks - - - - - + + Active Record Validations and Callbacks + + + + - -
- - - -
-

Active Record Validations and Callbacks

-
+
+ + + +
+

Active Record Validations and Callbacks

+

This guide teaches you how to hook into the lifecycle of your Active Record objects. More precisely, you will learn how to validate the state of your objects before they go into the database as well as how to perform custom operations at certain points in the object lifecycle.

After reading this guide and trying out the presented concepts, we hope that you’ll be able to:

@@ -683,7 +515,7 @@ http://www.gnu.org/software/src-highlite --> Note -If you want to validate the presence of a boolean field (where the real values are true and false), you should use validates_inclusion_of :field_name, :in ⇒ [true, false] This is due to the way Object#blank? handles boolean values. false.blank? # ⇒ true +If you want to validate the presence of a boolean field (where the real values are true and false), you should use validates_inclusion_of :field_name, :in => [true, false] This is due to the way Object#blank? handles boolean values. false.blank? # => true

The default error message for validates_presence_of is "can’t be empty".

@@ -1393,7 +1225,7 @@ config.active_record

January 9, 2009: Initial version by Cássio Marques

-
-
+
+
diff --git a/railties/doc/guides/html/association_basics.html b/railties/doc/guides/html/association_basics.html index 336fa4255b..bfe8f3f341 100644 --- a/railties/doc/guides/html/association_basics.html +++ b/railties/doc/guides/html/association_basics.html @@ -1,273 +1,105 @@ - - A Guide to Active Record Associations - - - - - + + A Guide to Active Record Associations + + + + - -
- - - -
-

A Guide to Active Record Associations

- diff --git a/railties/doc/guides/html/authors.html b/railties/doc/guides/html/authors.html index fc4ef07549..ab205c96a9 100644 --- a/railties/doc/guides/html/authors.html +++ b/railties/doc/guides/html/authors.html @@ -1,203 +1,35 @@ - - About the Authors - - - - - + + About the Authors + + + + - - -
- -
-

About the Authors

-
+ + +
+ +
+

About the Authors

+