From c399e80e04e0f62766c20e39195cae9a0d48ab8f Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Wed, 22 Oct 2008 21:47:16 +0530 Subject: Fix icons --- .../doc/guides/html/actioncontroller_basics.html | 10 +- railties/doc/guides/html/association_basics.html | 32 ++--- .../guides/html/benchmarking_and_profiling.html | 2 +- railties/doc/guides/html/creating_plugins.html | 4 +- .../guides/html/debugging_rails_applications.html | 18 +-- railties/doc/guides/html/finders.html | 141 ++++++++++++++++++--- railties/doc/guides/html/form_helpers.html | 18 +-- .../guides/html/getting_started_with_rails.html | 28 ++-- railties/doc/guides/html/index.html | 22 ++-- .../doc/guides/html/layouts_and_rendering.html | 26 ++-- railties/doc/guides/html/migrations.html | 6 +- railties/doc/guides/html/routing_outside_in.html | 34 ++--- .../guides/html/testing_rails_applications.html | 10 +- railties/doc/guides/source/icons/README | 5 - railties/doc/guides/source/icons/callouts/1.png | Bin 329 -> 0 bytes railties/doc/guides/source/icons/callouts/10.png | Bin 361 -> 0 bytes railties/doc/guides/source/icons/callouts/11.png | Bin 565 -> 0 bytes railties/doc/guides/source/icons/callouts/12.png | Bin 617 -> 0 bytes railties/doc/guides/source/icons/callouts/13.png | Bin 623 -> 0 bytes railties/doc/guides/source/icons/callouts/14.png | Bin 411 -> 0 bytes railties/doc/guides/source/icons/callouts/15.png | Bin 640 -> 0 bytes railties/doc/guides/source/icons/callouts/2.png | Bin 353 -> 0 bytes railties/doc/guides/source/icons/callouts/3.png | Bin 350 -> 0 bytes railties/doc/guides/source/icons/callouts/4.png | Bin 345 -> 0 bytes railties/doc/guides/source/icons/callouts/5.png | Bin 348 -> 0 bytes railties/doc/guides/source/icons/callouts/6.png | Bin 355 -> 0 bytes railties/doc/guides/source/icons/callouts/7.png | Bin 344 -> 0 bytes railties/doc/guides/source/icons/callouts/8.png | Bin 357 -> 0 bytes railties/doc/guides/source/icons/callouts/9.png | Bin 357 -> 0 bytes railties/doc/guides/source/icons/caution.png | Bin 2554 -> 0 bytes railties/doc/guides/source/icons/example.png | Bin 2354 -> 0 bytes railties/doc/guides/source/icons/home.png | Bin 1340 -> 0 bytes railties/doc/guides/source/icons/important.png | Bin 2657 -> 0 bytes railties/doc/guides/source/icons/next.png | Bin 1302 -> 0 bytes railties/doc/guides/source/icons/note.png | Bin 2730 -> 0 bytes railties/doc/guides/source/icons/prev.png | Bin 1348 -> 0 bytes railties/doc/guides/source/icons/tip.png | Bin 2602 -> 0 bytes railties/doc/guides/source/icons/up.png | Bin 1320 -> 0 bytes railties/doc/guides/source/icons/warning.png | Bin 2828 -> 0 bytes railties/doc/guides/source/images/icons/README | 5 + .../doc/guides/source/images/icons/callouts/1.png | Bin 0 -> 329 bytes .../doc/guides/source/images/icons/callouts/10.png | Bin 0 -> 361 bytes .../doc/guides/source/images/icons/callouts/11.png | Bin 0 -> 565 bytes .../doc/guides/source/images/icons/callouts/12.png | Bin 0 -> 617 bytes .../doc/guides/source/images/icons/callouts/13.png | Bin 0 -> 623 bytes .../doc/guides/source/images/icons/callouts/14.png | Bin 0 -> 411 bytes .../doc/guides/source/images/icons/callouts/15.png | Bin 0 -> 640 bytes .../doc/guides/source/images/icons/callouts/2.png | Bin 0 -> 353 bytes .../doc/guides/source/images/icons/callouts/3.png | Bin 0 -> 350 bytes .../doc/guides/source/images/icons/callouts/4.png | Bin 0 -> 345 bytes .../doc/guides/source/images/icons/callouts/5.png | Bin 0 -> 348 bytes .../doc/guides/source/images/icons/callouts/6.png | Bin 0 -> 355 bytes .../doc/guides/source/images/icons/callouts/7.png | Bin 0 -> 344 bytes .../doc/guides/source/images/icons/callouts/8.png | Bin 0 -> 357 bytes .../doc/guides/source/images/icons/callouts/9.png | Bin 0 -> 357 bytes .../doc/guides/source/images/icons/caution.png | Bin 0 -> 2554 bytes .../doc/guides/source/images/icons/example.png | Bin 0 -> 2354 bytes railties/doc/guides/source/images/icons/home.png | Bin 0 -> 1340 bytes .../doc/guides/source/images/icons/important.png | Bin 0 -> 2657 bytes railties/doc/guides/source/images/icons/next.png | Bin 0 -> 1302 bytes railties/doc/guides/source/images/icons/note.png | Bin 0 -> 2730 bytes railties/doc/guides/source/images/icons/prev.png | Bin 0 -> 1348 bytes railties/doc/guides/source/images/icons/tip.png | Bin 0 -> 2602 bytes railties/doc/guides/source/images/icons/up.png | Bin 0 -> 1320 bytes .../doc/guides/source/images/icons/warning.png | Bin 0 -> 2828 bytes 65 files changed, 231 insertions(+), 130 deletions(-) delete mode 100644 railties/doc/guides/source/icons/README delete mode 100644 railties/doc/guides/source/icons/callouts/1.png delete mode 100644 railties/doc/guides/source/icons/callouts/10.png delete mode 100644 railties/doc/guides/source/icons/callouts/11.png delete mode 100644 railties/doc/guides/source/icons/callouts/12.png delete mode 100644 railties/doc/guides/source/icons/callouts/13.png delete mode 100644 railties/doc/guides/source/icons/callouts/14.png delete mode 100644 railties/doc/guides/source/icons/callouts/15.png delete mode 100644 railties/doc/guides/source/icons/callouts/2.png delete mode 100644 railties/doc/guides/source/icons/callouts/3.png delete mode 100644 railties/doc/guides/source/icons/callouts/4.png delete mode 100644 railties/doc/guides/source/icons/callouts/5.png delete mode 100644 railties/doc/guides/source/icons/callouts/6.png delete mode 100644 railties/doc/guides/source/icons/callouts/7.png delete mode 100644 railties/doc/guides/source/icons/callouts/8.png delete mode 100644 railties/doc/guides/source/icons/callouts/9.png delete mode 100644 railties/doc/guides/source/icons/caution.png delete mode 100644 railties/doc/guides/source/icons/example.png delete mode 100644 railties/doc/guides/source/icons/home.png delete mode 100644 railties/doc/guides/source/icons/important.png delete mode 100644 railties/doc/guides/source/icons/next.png delete mode 100644 railties/doc/guides/source/icons/note.png delete mode 100644 railties/doc/guides/source/icons/prev.png delete mode 100644 railties/doc/guides/source/icons/tip.png delete mode 100644 railties/doc/guides/source/icons/up.png delete mode 100644 railties/doc/guides/source/icons/warning.png create mode 100644 railties/doc/guides/source/images/icons/README create mode 100644 railties/doc/guides/source/images/icons/callouts/1.png create mode 100644 railties/doc/guides/source/images/icons/callouts/10.png create mode 100644 railties/doc/guides/source/images/icons/callouts/11.png create mode 100644 railties/doc/guides/source/images/icons/callouts/12.png create mode 100644 railties/doc/guides/source/images/icons/callouts/13.png create mode 100644 railties/doc/guides/source/images/icons/callouts/14.png create mode 100644 railties/doc/guides/source/images/icons/callouts/15.png create mode 100644 railties/doc/guides/source/images/icons/callouts/2.png create mode 100644 railties/doc/guides/source/images/icons/callouts/3.png create mode 100644 railties/doc/guides/source/images/icons/callouts/4.png create mode 100644 railties/doc/guides/source/images/icons/callouts/5.png create mode 100644 railties/doc/guides/source/images/icons/callouts/6.png create mode 100644 railties/doc/guides/source/images/icons/callouts/7.png create mode 100644 railties/doc/guides/source/images/icons/callouts/8.png create mode 100644 railties/doc/guides/source/images/icons/callouts/9.png create mode 100644 railties/doc/guides/source/images/icons/caution.png create mode 100644 railties/doc/guides/source/images/icons/example.png create mode 100644 railties/doc/guides/source/images/icons/home.png create mode 100644 railties/doc/guides/source/images/icons/important.png create mode 100644 railties/doc/guides/source/images/icons/next.png create mode 100644 railties/doc/guides/source/images/icons/note.png create mode 100644 railties/doc/guides/source/images/icons/prev.png create mode 100644 railties/doc/guides/source/images/icons/tip.png create mode 100644 railties/doc/guides/source/images/icons/up.png create mode 100644 railties/doc/guides/source/images/icons/warning.png (limited to 'railties/doc') diff --git a/railties/doc/guides/html/actioncontroller_basics.html b/railties/doc/guides/html/actioncontroller_basics.html index 091abfe3c7..9bba0d301a 100644 --- a/railties/doc/guides/html/actioncontroller_basics.html +++ b/railties/doc/guides/html/actioncontroller_basics.html @@ -465,7 +465,7 @@ http://www.gnu.org/software/src-highlite -->
-Note +Note There are two session methods, the class and the instance method. The class method which is described above is used to turn the session on and off while the instance method described below is used to access session values. The class method is used outside of method definitions while the instance methods is used inside methods, in actions or filters.
@@ -974,7 +974,7 @@ http://www.gnu.org/software/src-highlite -->
-Warning +Warning Be careful when using (or just don't use) "outside" data (params, cookies, etc) to locate the file on disk, as this is a security risk as someone could gain access to files they are not meant to have access to.
@@ -982,7 +982,7 @@ http://www.gnu.org/software/src-highlite -->
-Tip +Tip It is not recommended that you stream static files through Rails if you can instead keep them in a public folder on your web server. It is much more efficient to let the user download the file directly using Apache or another web server, keeping the request from unnecessarily going through the whole Rails stack.
@@ -1019,7 +1019,7 @@ http://www.gnu.org/software/src-highlite -->
-Note +Note Configuration files are not reloaded on each request, so you have to restart the server in order for their changes to take effect.
@@ -1112,7 +1112,7 @@ private
-Note +Note Certain exceptions are only rescuable from the ApplicationController class, as they are raised before the controller gets initialized and the action gets executed. See Pratik Naik's article on the subject for more information.
diff --git a/railties/doc/guides/html/association_basics.html b/railties/doc/guides/html/association_basics.html index de84551aef..012a1a0156 100644 --- a/railties/doc/guides/html/association_basics.html +++ b/railties/doc/guides/html/association_basics.html @@ -433,7 +433,7 @@ http://www.gnu.org/software/src-highlite -->
-Note +Note The name of the other model is pluralized when declaring a has_many association.
@@ -573,7 +573,7 @@ http://www.gnu.org/software/src-highlite -->
-Note +Note Using t.integer :supplier_id makes the foreign key naming obvious and implicit. In current versions of Rails, you can abstract away this implementation detail by using t.references :supplier instead.
@@ -777,7 +777,7 @@ http://www.gnu.org/software/src-highlite -->
-Warning +Warning The precedence between model names is calculated using the < operator for String. This means that if the strings are of different lengths, and the strings are equal when compared up to the shortest length, then the longer string is considered of higher lexical precedence than the shorter one. For example, one would expect the tables "paper_boxes" and "papers" to generate a join table name of "papers_paper_boxes" because of the length of the name "paper_boxes", but it in fact generates a join table name of "paper_boxes_papers".
@@ -1112,7 +1112,7 @@ http://www.gnu.org/software/src-highlite -->
-Warning +Warning You should not specify this option on a belongs_to association that is connected with a has_many association on the other class. Doing so can lead to orphaned records in your database.
@@ -1131,7 +1131,7 @@ http://www.gnu.org/software/src-highlite -->
-Tip +Tip In any case, Rails will not create foreign key columns for you. You need to explicitly define them as part of your migrations.
@@ -1174,7 +1174,7 @@ http://www.gnu.org/software/src-highlite -->
-Note +Note There's no need to use :include for immediate associations - that is, if you have Order belongs_to :customer, then the customer is eager-loaded automatically when it's needed.
@@ -1414,7 +1414,7 @@ http://www.gnu.org/software/src-highlite -->
-Tip +Tip In any case, Rails will not create foreign key columns for you. You need to explicitly define them as part of your migrations.
@@ -1606,7 +1606,7 @@ http://www.gnu.org/software/src-highlite -->
-Warning +Warning Objects will be in addition destroyed if they're associated with :dependent ⇒ :destroy, and deleted if they're associated with :dependent ⇒ :delete_all.
@@ -1834,7 +1834,7 @@ http://www.gnu.org/software/src-highlite -->
-Note +Note If you specify :finder_sql but not :counter_sql, then the counter SQL will be generated by substituting SELECT COUNT(*) FROM for the SELECT … FROM clause of your :finder_sql statement.
@@ -1844,7 +1844,7 @@ http://www.gnu.org/software/src-highlite -->
-Note +Note This option is ignored when you use the :through option on the association.
@@ -1867,7 +1867,7 @@ http://www.gnu.org/software/src-highlite -->
-Tip +Tip In any case, Rails will not create foreign key columns for you. You need to explicitly define them as part of your migrations.
@@ -1951,7 +1951,7 @@ http://www.gnu.org/software/src-highlite -->
-Warning +Warning If you specify your own :select, be sure to include the primary key and foreign key columns of the associated model. If you do not, Rails will throw an error.
@@ -2077,7 +2077,7 @@ assemblies.create
-Warning +Warning The use of extra attributes on the join table in a has_and_belongs_to_many association is deprecated. If you require this sort of complex behavior on the table that joins two models in a many-to-many relationship, you should use a has_many :through association instead of has_and_belongs_to_many.
@@ -2103,7 +2103,7 @@ http://www.gnu.org/software/src-highlite -->
-Note +Note This method is aliased as collection.concat and collection.push.
@@ -2296,7 +2296,7 @@ http://www.gnu.org/software/src-highlite -->
-Tip +Tip The :foreign_key and :association_foreign_key options are useful when setting up a many-to-many self-join. For example:
@@ -2349,7 +2349,7 @@ http://www.gnu.org/software/src-highlite -->
-Note +Note If you specify :finder_sql but not :counter_sql, then the counter SQL will be generated by substituting SELECT COUNT(*) FROM for the SELECT … FROM clause of your :finder_sql statement.
diff --git a/railties/doc/guides/html/benchmarking_and_profiling.html b/railties/doc/guides/html/benchmarking_and_profiling.html index ab036f00b1..0a2c995580 100644 --- a/railties/doc/guides/html/benchmarking_and_profiling.html +++ b/railties/doc/guides/html/benchmarking_and_profiling.html @@ -578,7 +578,7 @@ Tree File - A file output that can be use in conjunction with KCachegrind to vis
-Note +Note KCachegrind is Linux only. For Mac this means you have to do a full KDE install to have it working in your OS. Which is over 3 gigs in size. For windows there is clone called wincachegrind but it is no longer actively being developed.
diff --git a/railties/doc/guides/html/creating_plugins.html b/railties/doc/guides/html/creating_plugins.html index 93fbe72a78..48d5f03687 100644 --- a/railties/doc/guides/html/creating_plugins.html +++ b/railties/doc/guides/html/creating_plugins.html @@ -390,7 +390,7 @@ script/server
-Note +Note The aforementioned instructions will work for sqlite3. For more detailed instructions on how to create a rails app for other databases see the API docs.
@@ -438,7 +438,7 @@ create vendor/plugins/yaffle/generators/yaffle/USAGE
diff --git a/railties/doc/guides/html/debugging_rails_applications.html b/railties/doc/guides/html/debugging_rails_applications.html index f29d8860d2..bf1e442d59 100644 --- a/railties/doc/guides/html/debugging_rails_applications.html +++ b/railties/doc/guides/html/debugging_rails_applications.html @@ -424,7 +424,7 @@ config.logger =
-Note +Note
Editor's note:
Many plugin authors prefer to keep this file, and add all of the require statements in it. That way, they only line in init.rb would be require "yaffle". If you are developing a plugin that has a lot of files in the lib directory, you may want to create a subdirectory like lib/yaffle and store your files in there. That way your init.rb file stays clean
-Tip +Tip By default, each log is created under RAILS_ROOT/log/ and the log file name is environment_name.log.
@@ -444,7 +444,7 @@ ActiveRecord::Base
-Tip +Tip The default Rails log level is info in production mode and debug in development and test mode.
@@ -561,7 +561,7 @@ http://www.gnu.org/software/src-highlite -->
-Tip +Tip In development mode, you can dynamically require 'ruby-debug' instead of restarting the server, if it was started without —debugger.
@@ -593,7 +593,7 @@ continue edit frame method putl set tmate where
-Tip +Tip To view the help menu for any command use help <command-name> in active debug mode. For example: help var
@@ -717,7 +717,7 @@ true
-Tip +Tip You can also step into irb mode with the command irb (of course!). This way an irb session will be started within the context you invoked it. But be warned: this is an experimental feature.
@@ -748,7 +748,7 @@ true
-Tip +Tip The commands p (print) and pp (pretty print) can be used to evaluate Ruby expressions and display the value of variables to the console.
@@ -766,7 +766,7 @@ true
-Tip +Tip You can also use step+ n and step- n to move forward or backward n steps respectively.
@@ -796,7 +796,7 @@ http://www.gnu.org/software/src-highlite -->
-Tip +Tip You can use ruby-debug while using script/console. Just remember to require "ruby-debug" before calling the debugger method.
@@ -962,7 +962,7 @@ No breakpoints.
-Tip +Tip You can include any number of these configuration lines inside a .rdebugrc file in your HOME directory. ruby-debug will read this file every time it is loaded. and configure itself accordingly.
diff --git a/railties/doc/guides/html/finders.html b/railties/doc/guides/html/finders.html index 75a922f397..b10d390105 100644 --- a/railties/doc/guides/html/finders.html +++ b/railties/doc/guides/html/finders.html @@ -258,12 +258,17 @@ ul#navMain {
  • Count
  • +
  • Average
  • + +
  • Minimum
  • + +
  • Maximum
  • + +
  • Sum
  • +
  • - With Scope -
  • -
  • Credits
  • @@ -282,6 +287,8 @@ ul#navMain {
  • Tuesday, 21 October 2008
  • +
  • Wednesday, 22 October 2008
  • + @@ -550,7 +557,23 @@ http://www.gnu.org/software/src-highlite -->

    9. Group

    -

    TODO

    +

    The group option for find is useful, for example, if you want to find a collection of the dates orders were created on. We could use the option in this context:

    +
    +
    +
    Order.find(:all, :group => "date(created_at)", :order => "created_at")
    +
    +

    And this will give us a single Order object for each date that we have orders in our database.

    +

    The SQL that would be executed would be something like this:

    +
    +
    +
    SELECT * FROM `orders` GROUP BY date(created_at)
    +

    10. Read Only

    @@ -577,7 +600,15 @@ client.save

    If you're wanting to stop race conditions for a specific record, say for example you're incrementing a single field for a record you can use the lock option to ensure that the record is updated correctly. It's recommended this be used inside a transaction.

    -
    +
    +
    Topic.transaction do
    +  t = Topic.find(params[:id], :lock => true)
    +  t.increment!(:views)
    +end
    +

    12. Making It All Work Together

    @@ -607,7 +638,12 @@ http://www.gnu.org/software/src-highlite -->

    This query is more efficent, but there's a gotcha. If you have a client who does not have an address or a mailing address they will not be returned in this query at all. If you have any association as an optional association, you may want to use include rather than joins.

    When using eager loading you can specify conditions for the columns of the tables inside the eager loading to get back a smaller subset. If, for example, you want to find a client and all their orders within the last two weeks you could use eager loading with conditions for this:

    -
    +
    +
    Client.find(:first, :include => "orders", :conditions => ["orders.created_at >= ? AND orders.created_at <= ?", Time.now - 2.weeks, Time.now])
    +

    14. Dynamic finders

    @@ -776,8 +812,7 @@ http://www.gnu.org/software/src-highlite -->

    19. Calculations

    -

    19.1. Count

    -

    If you want to see how many records are in your models table you could call Client.count and that will return the number. If you want to be more specific and find all the clients with their age present in the database you can use Client.count(:age).

    +

    This section uses count as an example method in this preamble, but the options described apply to all sub-sections.

    count takes conditions much in the same way exists? does:

    Client.count(:conditions => "first_name = 'Ryan'")
     
    +

    Which will execute:

    SELECT count(*) AS count_all FROM `clients` WHERE (first_name = 1)
     
    +

    You can also use include or joins for this to do something a little more complex:

    +
    +
    +
    Client.count(:conditions => "clients.first_name = 'Ryan' AND orders.status = 'received'", :include => "orders")
    +
    +

    Which will execute:

    +
    +
    +
    SELECT count(DISTINCT `clients`.id) AS count_all FROM `clients` LEFT OUTER JOIN `orders` ON orders.client_id = client.id WHERE (clients.first_name = 'name' AND orders.status = 'received')
    +
    +

    We specify clients.first_name just in case one of our join tables has a field also called first_name and we do orders.status because that's the name of our join table.

    +

    19.1. Count

    +

    If you want to see how many records are in your model's table you could call Client.count and that will return the number. If you want to be more specific and find all the clients with their age present in the database you can use Client.count(:age).

    +

    For options, please see the parent section, Calculations.

    +

    19.2. Average

    +

    If you want to see the average of a certain number in one of your tables you can call the average method on the class that relates to the table. This method call will look something like this:

    +
    +
    +
    Client.average("orders_count")
    +
    +

    This will return a number (possibly a floating point number such as 3.14159265) representing the average of the fields.

    +

    For options, please see the parent section, Calculations

    +

    19.3. Minimum

    +

    If you want to find the minimum value of a field in your table you can call the minimum method on the class that relates to the table. This method call will look something like this:

    +
    +
    +
    Client.minimum("age")
    +
    +

    For options, please see the parent section, Calculations

    +

    19.4. Maximum

    +

    If you want to find the maximum value of a field in your table you can call the maximum method on the class that relates to the table. This method call will look something like this:

    +
    +
    +
    Client.maximum("age")
    +
    +

    For options, please see the parent section, Calculations

    +

    19.5. Sum

    +

    If you want to find the sum of a field for all records in your table you can call the sum method on the class that relates to the table. This method call will look something like this:

    +
    +
    +
    Client.sum("orders_count")
    +
    +

    For options, please see the parent section, Calculations

    -

    20. With Scope

    -
    -

    TODO

    -
    -

    21. Credits

    +

    20. Credits

    Thanks to Ryan Bates for his awesome screencast on named scope #108. The information within the named scope section is intentionally similar to it, and without the cast may have not been possible.

    Thanks to Mike Gunderloy for his tips on creating this guide.

    -

    22. Change Log

    +

    21. Change Log

    -

    22.1. Sunday, 28 September 2008

    +

    21.1. Sunday, 28 September 2008

    1. @@ -833,7 +926,7 @@ Added finding by id and passing in ids to "IDs, First, Last and All"

    -

    22.2. Wednesday, 01 October 2008

    +

    21.2. Wednesday, 01 October 2008

    1. @@ -846,7 +939,7 @@ Altered formatting so it doesn't look bad.

    -

    22.3. Sunday, 05 October 2008

    +

    21.3. Sunday, 05 October 2008

    1. @@ -864,7 +957,7 @@ Added TODO sections.

    -

    22.4. Monday, 06 October 2008

    +

    21.4. Monday, 06 October 2008

    1. @@ -872,7 +965,7 @@ Added section in Eager Loading about using conditions on tables that are not the

    -

    22.5. Thursday, 09 October 2008

    +

    21.5. Thursday, 09 October 2008

    1. @@ -885,7 +978,7 @@ Added section on using count.

    -

    22.6. Tuesday, 21 October 2008

    +

    21.6. Tuesday, 21 October 2008

    1. @@ -893,6 +986,14 @@ Extended named scope guide by adding :include and :joins and find sub-sections.

    +

    21.7. Wednesday, 22 October 2008

    +
      +
    1. +

      +Completed calculations section. +

      +
    2. +
    diff --git a/railties/doc/guides/html/form_helpers.html b/railties/doc/guides/html/form_helpers.html index da5307217c..28c317411b 100644 --- a/railties/doc/guides/html/form_helpers.html +++ b/railties/doc/guides/html/form_helpers.html @@ -259,7 +259,7 @@ Build complex, multi-model forms.
    -Note +Note This guide is not intended to be a complete documentation of available form helpers and their arguments. Please visit the Rails API documentation for a complete reference.
    @@ -290,7 +290,7 @@ Build complex, multi-model forms.
    -Note +Note Throughout this guide, this div with the hidden input will be stripped away to have clearer code samples.
    @@ -322,7 +322,7 @@ a submit element.
    -Important +Important Always use "GET" as the method for search forms. Benefits are many: users are able to bookmark a specific search and get back to it; browsers cache results of "GET" requests, but not "POST"; and other.
    @@ -340,7 +340,7 @@ a submit element.
    -Tip +Tip

    search_path can be a named route specified in "routes.rb":

    @@ -365,7 +365,7 @@ a submit element.
    -Tip +Tip For every form input, an ID attribute is generated from its name ("q" in our example). These IDs can be very useful for CSS styling or manipulation of form controls with JavaScript.
    @@ -390,7 +390,7 @@ a submit element.
    -Warning +Warning Do not delimit the second hash without doing so with the first hash, otherwise your method invocation will result in an ugly expecting tASSOC syntax error.
    @@ -429,7 +429,7 @@ output:
    -Important +Important Always use labels for each checkbox and radio button. They associate text with a specific option, while also providing a larger clickable region.
    @@ -451,7 +451,7 @@ output:
    -Tip +Tip If you're using password input fields (for any purpose), you might want to prevent their values showing up in application logs by activating filter_parameter_logging(:password) in your ApplicationController.
    @@ -557,7 +557,7 @@ form_for(@article)
    -Warning +Warning When you're using STI (single-table inheritance) with your models, you can't rely on record identification on a subclass if only their parent class is declared a resource. You will have to specify the model name, :url and :method explicitly.
    diff --git a/railties/doc/guides/html/getting_started_with_rails.html b/railties/doc/guides/html/getting_started_with_rails.html index 1302e4f70d..e7be98d34a 100644 --- a/railties/doc/guides/html/getting_started_with_rails.html +++ b/railties/doc/guides/html/getting_started_with_rails.html @@ -496,7 +496,7 @@ http://www.gnu.org/software/src-highlite -->
    -Note +Note There are some special circumstances in which you might want to use an alternate installation strategy:
    @@ -750,7 +750,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip If you're on Windows, or your Ruby is set up in some non-standard fashion, you may need to explicitly pass Rails script commands to Ruby: ruby script/generate controller home index.
    @@ -779,7 +779,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip To stop the web server, hit Ctrl+C in the terminal window where it's running. In development mode, Rails does not generally require you to stop the server; changes you make in files will be automatically picked up by the server.
    @@ -817,7 +817,7 @@ http://www.gnu.org/software/src-highlite -->
    -Note +Note For more information about routing, refer to Rails Routing from the Outside In.
    @@ -840,7 +840,7 @@ http://www.gnu.org/software/src-highlite -->
    -Note +Note While scaffolding will get you up and running quickly, the "one size fits all" code that it generates is unlikely to be a perfect fit for your application. In most cases, you'll need to customize the generated code. Many experienced Rails developers avoid scaffolding entirely, preferring to write all or most of their source code from scratch.
    @@ -1015,7 +1015,7 @@ $ rake db:migrate
    -Note +Note Because you're working in the development environment by default, both of these commands will apply to the database defined in the development section of your config/database.yml file.
    @@ -1041,7 +1041,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip In development mode (which is what you're working in by default), Rails reloads your application with every browser request, so there's no need to stop and restart the web server.
    @@ -1101,7 +1101,7 @@ title: nil,
    -Tip +Tip Unlike the development web server, the console does not automatically load your code afresh for each line. If you make changes, type reload! at the console prompt to load them.
    @@ -1126,7 +1126,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip For more information on finding records with Active Record, see Active Record Finders.
    @@ -1183,7 +1183,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip For more details on the rendering process, see Layouts and Rendering in Rails.
    @@ -1264,7 +1264,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip If you need to create an HTML form that displays arbitrary fields, not tied to a model, you should use the form_tag method, which provides shortcuts for building forms that are not necessarily tied to a model instance.
    @@ -1400,7 +1400,7 @@ http://www.gnu.org/software/src-highlite -->
    -Note +Note Sharp-eyed readers will have noticed that the form_for declaration is identical for the create and edit views. Rails generates different code for the two forms because it's smart enough to notice that in the one case it's being passed a new record that has never been saved, and in the other case an existing record that has already been saved to the database. In a production Rails application, you would ordinarily eliminate this duplication by moving identical code to a partial template, which you could then include in both parent templates. But the scaffold generator tries not to make too many assumptions, and generates code that’s easy to modify if you want different forms for create and edit.
    @@ -1536,7 +1536,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip For more information on Active Record associations, see the Active Record Associations guide.
    @@ -1556,7 +1556,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip For more information on routing, see the Rails Routing from the Outside In guide.
    diff --git a/railties/doc/guides/html/index.html b/railties/doc/guides/html/index.html index c3577e98ea..f84442d10c 100644 --- a/railties/doc/guides/html/index.html +++ b/railties/doc/guides/html/index.html @@ -202,7 +202,7 @@ ul#navMain {
    -Warning +Warning This page is the result of ongoing Rails Guides hackfest and a work in progress.
    @@ -210,7 +210,7 @@ ul#navMain {
    -Caution +Caution 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.
    @@ -222,7 +222,7 @@ ul#navMain {
    -Caution +Caution Lighthouse Ticket
    @@ -246,7 +246,7 @@ ul#navMain {
    -Caution +Caution Lighthouse Ticket
    @@ -267,7 +267,7 @@ with partials.

    -Caution +Caution Lighthouse Ticket
    @@ -287,7 +287,7 @@ understand how to use routing in your own Rails applications, start here.

    -Caution +Caution Lighthouse Ticket
    @@ -300,7 +300,7 @@ understand how to use routing in your own Rails applications, start here.

    -Caution +Caution Lighthouse Ticket
    @@ -314,7 +314,7 @@ understand how to use routing in your own Rails applications, start here.

    -Caution +Caution Lighthouse Ticket
    @@ -329,7 +329,7 @@ Enjoy.

    -Caution +Caution Lighthouse Ticket
    @@ -343,7 +343,7 @@ avoid them with Rails.

    -Caution +Caution Lighthouse Ticket
    @@ -358,7 +358,7 @@ of your code.

    -Caution +Caution Lighthouse Ticket
    diff --git a/railties/doc/guides/html/layouts_and_rendering.html b/railties/doc/guides/html/layouts_and_rendering.html index 35d9e670b1..916cdd2053 100644 --- a/railties/doc/guides/html/layouts_and_rendering.html +++ b/railties/doc/guides/html/layouts_and_rendering.html @@ -300,7 +300,7 @@ http://www.gnu.org/software/src-highlite -->
    -Note +Note The actual rendering is done by subclasses of ActionView::TemplateHandlers. This guide does not dig into that process, but it's important to know that the file extension on your view controls the choice of template handler. In Rails 2, the standard extensions are .erb for ERB (HTML with embedded Ruby), .rjs for RJS (javascript with embedded ruby) and .builder for Builder (XML generator). You'll also find .rhtml used for ERB templates and .rxml for Builder templates, but those extensions are now formally deprecated and will be removed from a future version of Rails.
    @@ -310,7 +310,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip If you want to see the exact results of a call to render without needing to inspect it in a browser, you can call render_to_string. This method takes exactly the same options as render, but it returns a string instead of sending a response back to the browser.
    @@ -328,7 +328,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip You should probably be using the head method, discussed later in this guide, instead of render :nothing. This provides additional flexibility and makes it explicit that you're only generating HTTP headers.
    @@ -354,7 +354,7 @@ http://www.gnu.org/software/src-highlite -->
    -Warning +Warning Using render with :action is a frequent source of confusion for Rails newcomers. The specified action is used to determine which view to render, but Rails does not run any of the code for that action in the controller. Any instance variables that you require in the view must be set up in the current action before calling render.
    @@ -381,7 +381,7 @@ http://www.gnu.org/software/src-highlite -->
    -Note +Note By default, if you use the :file option, the file is rendered without using the current layout. If you want Rails to put the file into the current layout, you need to add the :layout ⇒ true option
    @@ -398,7 +398,7 @@ http://www.gnu.org/software/src-highlite -->
    -Warning +Warning There is seldom any good reason to use this option. Mixing ERB into your controllers defeats the MVC orientation of Rails and will make it harder for other developers to follow the logic of your project. Use a separate erb view instead.
    @@ -425,7 +425,7 @@ http://www.gnu.org/software/src-highlite -->
    -Warning +Warning Placing javascript updates in your controller may seem to streamline small updates, but it defeats the MVC orientation of Rails and will make it harder for other developers to follow the logic of your project. I recommend using a separate rjs template instead, no matter how small the update.
    @@ -442,7 +442,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip Rendering pure text is most useful when you're responding to AJAX or web service requests that are expecting something other than proper HTML.
    @@ -450,7 +450,7 @@ http://www.gnu.org/software/src-highlite -->
    -Note +Note By default, if you use the :text option, the file is rendered without using the current layout. If you want Rails to put the text into the current layout, you need to add the :layout ⇒ true option
    @@ -467,7 +467,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip You don't need to call to_json on the object that you want to render. If you use the :json option, render will automatically call to_json for you.
    @@ -484,7 +484,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip You don't need to call to_xml on the object that you want to render. If you use the :xml option, render will automatically call to_xml for you.
    @@ -714,7 +714,7 @@ image_tag
    -Warning +Warning The asset tags do not verify the existence of the assets at the specified locations; they simply assume that you know what you're doing and generate the link.
    @@ -1036,7 +1036,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip For content that is shared among all pages in your application, you can use partials directly from layouts.
    diff --git a/railties/doc/guides/html/migrations.html b/railties/doc/guides/html/migrations.html index 0fd30ee2eb..fd466d3a02 100644 --- a/railties/doc/guides/html/migrations.html +++ b/railties/doc/guides/html/migrations.html @@ -354,7 +354,7 @@ to have already opted in, so we use the User model to set the flag to true
    -Note +Note Some caveats apply to using models in your migrations.
    @@ -657,7 +657,7 @@ http://www.gnu.org/software/src-highlite -->
    -Note +Note The references helper does not actually create foreign key constraints for you. You will need to use execute for that or a plugin that adds foreign key support.
    @@ -728,7 +728,7 @@ version is the numerical prefix on the migration's filename. For example to migr
    -Note +Note This is not the same as running all the migrations - see the section on schema.rb.
    diff --git a/railties/doc/guides/html/routing_outside_in.html b/railties/doc/guides/html/routing_outside_in.html index efa14d5ad8..ca8958eef9 100644 --- a/railties/doc/guides/html/routing_outside_in.html +++ b/railties/doc/guides/html/routing_outside_in.html @@ -372,7 +372,7 @@ http://www.gnu.org/software/src-highlite -->
    -Note +Note Patient needs to be declared as a resource for this style of translation via a named route to be available.
    @@ -647,7 +647,7 @@ cellspacing="0" cellpadding="4">
    -Tip +Tip If you consistently use RESTful routes in your application, you should disable the default routes in routes.rb so that Rails will enforce the mapping between HTTP verbs and routes.
    @@ -679,7 +679,7 @@ cellspacing="0" cellpadding="4">
    -Note +Note Because routing makes use of the HTTP verb as well as the path in the request to dispatch requests, the seven routes generated by a RESTful routing entry only give rise to four pairs of helpers.
    @@ -859,7 +859,7 @@ cellspacing="0" cellpadding="4">
    -Note +Note Even though the name of the resource is singular in routes.rb, the matching controller is still plural.
    @@ -1091,7 +1091,7 @@ cellspacing="0" cellpadding="4">
    -Note +Note The helpers will be generated with the name of the resource, not the name of the controller. So in this case, you'd still get photos_path, new_photo_path, and so on.
    @@ -1109,7 +1109,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip If you want to guarantee that a link goes to a top-level controller, use a preceding slash to anchor the controller name: <%= link_to "show", {:controller ⇒ "/photos", :action ⇒ "show"} %>
    @@ -1145,7 +1145,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip Depending on the other code in your application, you may prefer to add additional rules to the Inflector class instead.
    @@ -1326,7 +1326,7 @@ cellspacing="0" cellpadding="4">
    -Note +Note The helpers will be generated with the name of the resource, not the path name. So in this case, you'd still get photos_path, new_photo_path, and so on.
    @@ -1349,7 +1349,7 @@ http://www.gnu.org/software/src-highlite -->
    -Note +Note The actual action names aren't changed by this option; the two URLs show would still route to the new and edit actions.
    @@ -1357,7 +1357,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip If you find yourself wanting to change this option uniformly for all of your routes, you can set a default in your environment:
    @@ -1387,7 +1387,7 @@ http://www.gnu.org/software/src-highlite -->
    -Note +Note In most cases, it's simpler to recognize URLs of this sort by creating nested resources, as discussed in the next section.
    @@ -1395,7 +1395,7 @@ http://www.gnu.org/software/src-highlite -->
    -Note +Note You can also use :path_prefix with non-RESTful routes.
    @@ -1414,7 +1414,7 @@ map.resources :
    -Note +Note You can also use :name_prefix with non-RESTful routes.
    @@ -1808,7 +1808,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip If you want to redefine the verbs accepted by one of the standard actions, you can do so by explicitly mapping that action. For example:
    @@ -2001,7 +2001,7 @@ map.connect ':c
    -Note +Note The default routes will make every action of every controller in your application accessible to GET requests. If you've designed your application to make consistent use of RESTful and named routes, you should comment out the default routes to prevent access to your controllers through the wrong verbs. If you've had the default routes enabled during development, though, you need to be sure that you haven't unwittingly depended on them somewhere in your application - otherwise you may find mysterious failures when you disable them.
    @@ -2042,7 +2042,7 @@ http://www.gnu.org/software/src-highlite -->
    -Tip +Tip If the empty route does not seem to be working in your application, make sure that you have deleted the file public/index.html from your Rails tree.
    @@ -2086,7 +2086,7 @@ formatted_users GET /users.:format {:controller=>"users", :action=>"inde
    -Tip +Tip You'll find that the output from rake routes is much more readable if you widen your terminal window until the output lines don't wrap.
    diff --git a/railties/doc/guides/html/testing_rails_applications.html b/railties/doc/guides/html/testing_rails_applications.html index b2e0b1bbc1..73634ef328 100644 --- a/railties/doc/guides/html/testing_rails_applications.html +++ b/railties/doc/guides/html/testing_rails_applications.html @@ -762,7 +762,7 @@ NameError: undefined local variable or method `some_undefined_variable' for #<
    -Note +Note The execution of each test method stops as soon as any error or a assertion failure is encountered, and the test suite continues with the next method. All test methods are executed in alphabetical order.
    @@ -772,7 +772,7 @@ NameError: undefined local variable or method `some_undefined_variable' for #<
    -Tip +Tip Many Rails developers practice test-driven development (TDD), in which the tests are written before the code that they are testing. This is an excellent way to build up a test suite that exercises every part of your application. TDD is beyond the scope of this guide, but one place to start is with 15 TDD steps to create a Rails application.
    @@ -956,7 +956,7 @@ cellspacing="0" cellpadding="4">
    -Note +Note Creating your own assertions is an advanced topic that we won't cover in this tutorial.
    @@ -1266,7 +1266,7 @@ http://www.gnu.org/software/src-highlite -->
    -Note +Note You may find references to assert_tag in other documentation, but this is now deprecated in favor of assert_select.
    @@ -1696,7 +1696,7 @@ Tasks Description

    -Tip +Tip You can see all these rake task and their descriptions by running rake —tasks —describe
    diff --git a/railties/doc/guides/source/icons/README b/railties/doc/guides/source/icons/README deleted file mode 100644 index f12b2a730c..0000000000 --- a/railties/doc/guides/source/icons/README +++ /dev/null @@ -1,5 +0,0 @@ -Replaced the plain DocBook XSL admonition icons with Jimmac's DocBook -icons (http://jimmac.musichall.cz/ikony.php3). I dropped transparency -from the Jimmac icons to get round MS IE and FOP PNG incompatibilies. - -Stuart Rackham diff --git a/railties/doc/guides/source/icons/callouts/1.png b/railties/doc/guides/source/icons/callouts/1.png deleted file mode 100644 index 7d473430b7..0000000000 Binary files a/railties/doc/guides/source/icons/callouts/1.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/callouts/10.png b/railties/doc/guides/source/icons/callouts/10.png deleted file mode 100644 index 997bbc8246..0000000000 Binary files a/railties/doc/guides/source/icons/callouts/10.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/callouts/11.png b/railties/doc/guides/source/icons/callouts/11.png deleted file mode 100644 index ce47dac3f5..0000000000 Binary files a/railties/doc/guides/source/icons/callouts/11.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/callouts/12.png b/railties/doc/guides/source/icons/callouts/12.png deleted file mode 100644 index 31daf4e2f2..0000000000 Binary files a/railties/doc/guides/source/icons/callouts/12.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/callouts/13.png b/railties/doc/guides/source/icons/callouts/13.png deleted file mode 100644 index 14021a89c2..0000000000 Binary files a/railties/doc/guides/source/icons/callouts/13.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/callouts/14.png b/railties/doc/guides/source/icons/callouts/14.png deleted file mode 100644 index 64014b75fe..0000000000 Binary files a/railties/doc/guides/source/icons/callouts/14.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/callouts/15.png b/railties/doc/guides/source/icons/callouts/15.png deleted file mode 100644 index 0d65765fcf..0000000000 Binary files a/railties/doc/guides/source/icons/callouts/15.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/callouts/2.png b/railties/doc/guides/source/icons/callouts/2.png deleted file mode 100644 index 5d09341b2f..0000000000 Binary files a/railties/doc/guides/source/icons/callouts/2.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/callouts/3.png b/railties/doc/guides/source/icons/callouts/3.png deleted file mode 100644 index ef7b700471..0000000000 Binary files a/railties/doc/guides/source/icons/callouts/3.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/callouts/4.png b/railties/doc/guides/source/icons/callouts/4.png deleted file mode 100644 index adb8364eb5..0000000000 Binary files a/railties/doc/guides/source/icons/callouts/4.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/callouts/5.png b/railties/doc/guides/source/icons/callouts/5.png deleted file mode 100644 index 4d7eb46002..0000000000 Binary files a/railties/doc/guides/source/icons/callouts/5.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/callouts/6.png b/railties/doc/guides/source/icons/callouts/6.png deleted file mode 100644 index 0ba694af6c..0000000000 Binary files a/railties/doc/guides/source/icons/callouts/6.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/callouts/7.png b/railties/doc/guides/source/icons/callouts/7.png deleted file mode 100644 index 472e96f8ac..0000000000 Binary files a/railties/doc/guides/source/icons/callouts/7.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/callouts/8.png b/railties/doc/guides/source/icons/callouts/8.png deleted file mode 100644 index 5e60973c21..0000000000 Binary files a/railties/doc/guides/source/icons/callouts/8.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/callouts/9.png b/railties/doc/guides/source/icons/callouts/9.png deleted file mode 100644 index a0676d26cc..0000000000 Binary files a/railties/doc/guides/source/icons/callouts/9.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/caution.png b/railties/doc/guides/source/icons/caution.png deleted file mode 100644 index cb9d5ea0df..0000000000 Binary files a/railties/doc/guides/source/icons/caution.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/example.png b/railties/doc/guides/source/icons/example.png deleted file mode 100644 index bba1c0010d..0000000000 Binary files a/railties/doc/guides/source/icons/example.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/home.png b/railties/doc/guides/source/icons/home.png deleted file mode 100644 index 37a5231bac..0000000000 Binary files a/railties/doc/guides/source/icons/home.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/important.png b/railties/doc/guides/source/icons/important.png deleted file mode 100644 index 1096c23295..0000000000 Binary files a/railties/doc/guides/source/icons/important.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/next.png b/railties/doc/guides/source/icons/next.png deleted file mode 100644 index 64e126bdda..0000000000 Binary files a/railties/doc/guides/source/icons/next.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/note.png b/railties/doc/guides/source/icons/note.png deleted file mode 100644 index 841820f7c4..0000000000 Binary files a/railties/doc/guides/source/icons/note.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/prev.png b/railties/doc/guides/source/icons/prev.png deleted file mode 100644 index 3e8f12fe24..0000000000 Binary files a/railties/doc/guides/source/icons/prev.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/tip.png b/railties/doc/guides/source/icons/tip.png deleted file mode 100644 index a3a029d898..0000000000 Binary files a/railties/doc/guides/source/icons/tip.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/up.png b/railties/doc/guides/source/icons/up.png deleted file mode 100644 index 2db1ce62fa..0000000000 Binary files a/railties/doc/guides/source/icons/up.png and /dev/null differ diff --git a/railties/doc/guides/source/icons/warning.png b/railties/doc/guides/source/icons/warning.png deleted file mode 100644 index 0b0c419df2..0000000000 Binary files a/railties/doc/guides/source/icons/warning.png and /dev/null differ diff --git a/railties/doc/guides/source/images/icons/README b/railties/doc/guides/source/images/icons/README new file mode 100644 index 0000000000..f12b2a730c --- /dev/null +++ b/railties/doc/guides/source/images/icons/README @@ -0,0 +1,5 @@ +Replaced the plain DocBook XSL admonition icons with Jimmac's DocBook +icons (http://jimmac.musichall.cz/ikony.php3). I dropped transparency +from the Jimmac icons to get round MS IE and FOP PNG incompatibilies. + +Stuart Rackham diff --git a/railties/doc/guides/source/images/icons/callouts/1.png b/railties/doc/guides/source/images/icons/callouts/1.png new file mode 100644 index 0000000000..7d473430b7 Binary files /dev/null and b/railties/doc/guides/source/images/icons/callouts/1.png differ diff --git a/railties/doc/guides/source/images/icons/callouts/10.png b/railties/doc/guides/source/images/icons/callouts/10.png new file mode 100644 index 0000000000..997bbc8246 Binary files /dev/null and b/railties/doc/guides/source/images/icons/callouts/10.png differ diff --git a/railties/doc/guides/source/images/icons/callouts/11.png b/railties/doc/guides/source/images/icons/callouts/11.png new file mode 100644 index 0000000000..ce47dac3f5 Binary files /dev/null and b/railties/doc/guides/source/images/icons/callouts/11.png differ diff --git a/railties/doc/guides/source/images/icons/callouts/12.png b/railties/doc/guides/source/images/icons/callouts/12.png new file mode 100644 index 0000000000..31daf4e2f2 Binary files /dev/null and b/railties/doc/guides/source/images/icons/callouts/12.png differ diff --git a/railties/doc/guides/source/images/icons/callouts/13.png b/railties/doc/guides/source/images/icons/callouts/13.png new file mode 100644 index 0000000000..14021a89c2 Binary files /dev/null and b/railties/doc/guides/source/images/icons/callouts/13.png differ diff --git a/railties/doc/guides/source/images/icons/callouts/14.png b/railties/doc/guides/source/images/icons/callouts/14.png new file mode 100644 index 0000000000..64014b75fe Binary files /dev/null and b/railties/doc/guides/source/images/icons/callouts/14.png differ diff --git a/railties/doc/guides/source/images/icons/callouts/15.png b/railties/doc/guides/source/images/icons/callouts/15.png new file mode 100644 index 0000000000..0d65765fcf Binary files /dev/null and b/railties/doc/guides/source/images/icons/callouts/15.png differ diff --git a/railties/doc/guides/source/images/icons/callouts/2.png b/railties/doc/guides/source/images/icons/callouts/2.png new file mode 100644 index 0000000000..5d09341b2f Binary files /dev/null and b/railties/doc/guides/source/images/icons/callouts/2.png differ diff --git a/railties/doc/guides/source/images/icons/callouts/3.png b/railties/doc/guides/source/images/icons/callouts/3.png new file mode 100644 index 0000000000..ef7b700471 Binary files /dev/null and b/railties/doc/guides/source/images/icons/callouts/3.png differ diff --git a/railties/doc/guides/source/images/icons/callouts/4.png b/railties/doc/guides/source/images/icons/callouts/4.png new file mode 100644 index 0000000000..adb8364eb5 Binary files /dev/null and b/railties/doc/guides/source/images/icons/callouts/4.png differ diff --git a/railties/doc/guides/source/images/icons/callouts/5.png b/railties/doc/guides/source/images/icons/callouts/5.png new file mode 100644 index 0000000000..4d7eb46002 Binary files /dev/null and b/railties/doc/guides/source/images/icons/callouts/5.png differ diff --git a/railties/doc/guides/source/images/icons/callouts/6.png b/railties/doc/guides/source/images/icons/callouts/6.png new file mode 100644 index 0000000000..0ba694af6c Binary files /dev/null and b/railties/doc/guides/source/images/icons/callouts/6.png differ diff --git a/railties/doc/guides/source/images/icons/callouts/7.png b/railties/doc/guides/source/images/icons/callouts/7.png new file mode 100644 index 0000000000..472e96f8ac Binary files /dev/null and b/railties/doc/guides/source/images/icons/callouts/7.png differ diff --git a/railties/doc/guides/source/images/icons/callouts/8.png b/railties/doc/guides/source/images/icons/callouts/8.png new file mode 100644 index 0000000000..5e60973c21 Binary files /dev/null and b/railties/doc/guides/source/images/icons/callouts/8.png differ diff --git a/railties/doc/guides/source/images/icons/callouts/9.png b/railties/doc/guides/source/images/icons/callouts/9.png new file mode 100644 index 0000000000..a0676d26cc Binary files /dev/null and b/railties/doc/guides/source/images/icons/callouts/9.png differ diff --git a/railties/doc/guides/source/images/icons/caution.png b/railties/doc/guides/source/images/icons/caution.png new file mode 100644 index 0000000000..cb9d5ea0df Binary files /dev/null and b/railties/doc/guides/source/images/icons/caution.png differ diff --git a/railties/doc/guides/source/images/icons/example.png b/railties/doc/guides/source/images/icons/example.png new file mode 100644 index 0000000000..bba1c0010d Binary files /dev/null and b/railties/doc/guides/source/images/icons/example.png differ diff --git a/railties/doc/guides/source/images/icons/home.png b/railties/doc/guides/source/images/icons/home.png new file mode 100644 index 0000000000..37a5231bac Binary files /dev/null and b/railties/doc/guides/source/images/icons/home.png differ diff --git a/railties/doc/guides/source/images/icons/important.png b/railties/doc/guides/source/images/icons/important.png new file mode 100644 index 0000000000..1096c23295 Binary files /dev/null and b/railties/doc/guides/source/images/icons/important.png differ diff --git a/railties/doc/guides/source/images/icons/next.png b/railties/doc/guides/source/images/icons/next.png new file mode 100644 index 0000000000..64e126bdda Binary files /dev/null and b/railties/doc/guides/source/images/icons/next.png differ diff --git a/railties/doc/guides/source/images/icons/note.png b/railties/doc/guides/source/images/icons/note.png new file mode 100644 index 0000000000..841820f7c4 Binary files /dev/null and b/railties/doc/guides/source/images/icons/note.png differ diff --git a/railties/doc/guides/source/images/icons/prev.png b/railties/doc/guides/source/images/icons/prev.png new file mode 100644 index 0000000000..3e8f12fe24 Binary files /dev/null and b/railties/doc/guides/source/images/icons/prev.png differ diff --git a/railties/doc/guides/source/images/icons/tip.png b/railties/doc/guides/source/images/icons/tip.png new file mode 100644 index 0000000000..a3a029d898 Binary files /dev/null and b/railties/doc/guides/source/images/icons/tip.png differ diff --git a/railties/doc/guides/source/images/icons/up.png b/railties/doc/guides/source/images/icons/up.png new file mode 100644 index 0000000000..2db1ce62fa Binary files /dev/null and b/railties/doc/guides/source/images/icons/up.png differ diff --git a/railties/doc/guides/source/images/icons/warning.png b/railties/doc/guides/source/images/icons/warning.png new file mode 100644 index 0000000000..0b0c419df2 Binary files /dev/null and b/railties/doc/guides/source/images/icons/warning.png differ -- cgit v1.2.3