aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
diff options
context:
space:
mode:
authorMike Gunderloy <MikeG1@larkfarm.com>2009-02-12 20:12:22 -0600
committerMike Gunderloy <MikeG1@larkfarm.com>2009-02-12 20:12:22 -0600
commit11b15d2de21767d19eabfb201c175974585e1626 (patch)
treef041729cd0ea7d85c12d848dbd9879cb73a81229 /railties/guides/source
parent3bfbbeb79defce6877435c7a70e5e0301646dcc2 (diff)
downloadrails-11b15d2de21767d19eabfb201c175974585e1626.tar.gz
rails-11b15d2de21767d19eabfb201c175974585e1626.tar.bz2
rails-11b15d2de21767d19eabfb201c175974585e1626.zip
Layout fixes for configuring guide.
Diffstat (limited to 'railties/guides/source')
-rw-r--r--railties/guides/source/configuring.textile6
1 files changed, 2 insertions, 4 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile
index 5437184a0c..d97ed56eaf 100644
--- a/railties/guides/source/configuring.textile
+++ b/railties/guides/source/configuring.textile
@@ -7,7 +7,6 @@ This guide covers the configuration and initialization features available to Rai
endprologue.
-NOTE: The first edition of this Guide was written from the Rails 2.3 source code. While the information it contains is broadly applicable to Rails 2.2, backwards compatibility is not guaranteed.
h3. Locations for Initialization Code
@@ -127,7 +126,7 @@ There are only a few configuration options for Action View, starting with four o
* +warn_cache_misses+ tells Rails to display a warning whenever an action results in a cache miss on your view paths. The default is +false+.
-* +field_error_proc+ provides an HTML generator for displaying errors that come from Active Record. The default is +Proc.new{ |html_tag, instance| "<div class=\"fieldWithErrors\">#{html_tag}</div>" }+
+* +field_error_proc+ provides an HTML generator for displaying errors that come from Active Record. The default is <tt>Proc.new{ |html_tag, instance| "<div class=\"fieldWithErrors\">#{html_tag}</div>" }</tt>
* +default_form_builder+ tells Rails which form builder to use by default. The default is +ActionView::Helpers::FormBuilder+.
@@ -168,8 +167,7 @@ There are a number of settings available on +ActionMailer::Base+:
* +default_mime_version+ is the default MIME version for the message. It defaults to +1.0+.
* +default_implicit_parts_order+ - When a message is built implicitly (i.e. multiple parts are assembled from templates
-which specify the content type in their filenames) this variable controls how the parts are ordered. Defaults to
-* +["text/html", "text/enriched", "text/plain"]+. Items that appear first in the array have higher priority in the mail client
+which specify the content type in their filenames) this variable controls how the parts are ordered. Defaults to +["text/html", "text/enriched", "text/plain"]+. Items that appear first in the array have higher priority in the mail client
and appear last in the mime encoded message.
h4. Configuring Active Resource