Permalink
Browse files

Layout fixes for configuring guide.

  • Loading branch information...
1 parent 3bfbbeb commit 11b15d2de21767d19eabfb201c175974585e1626 @ffmike ffmike committed Feb 13, 2009
Showing with 2 additions and 4 deletions.
  1. +2 −4 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

0 comments on commit 11b15d2

Please sign in to comment.