aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/configuring.textile
diff options
context:
space:
mode:
authorIvan Torres <mexpolk@gmail.com>2010-07-22 10:10:38 -0500
committerIvan Torres <mexpolk@gmail.com>2010-07-22 10:10:38 -0500
commit2d2bde9f543a1508e9b149751a4566780033e3f0 (patch)
tree62bb19a29544ea6e499a980421583ab0e7680782 /railties/guides/source/configuring.textile
parent3e196db6ad57abcd9fc07ec2c5044b85bb13217e (diff)
downloadrails-2d2bde9f543a1508e9b149751a4566780033e3f0.tar.gz
rails-2d2bde9f543a1508e9b149751a4566780033e3f0.tar.bz2
rails-2d2bde9f543a1508e9b149751a4566780033e3f0.zip
[PATCH] Update guides after Jeremy Kemper's changes on fieldWithErrors
to field_with_errors [#157 state:resolved]
Diffstat (limited to 'railties/guides/source/configuring.textile')
-rw-r--r--railties/guides/source/configuring.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile
index 86655746e4..2ab28596d8 100644
--- a/railties/guides/source/configuring.textile
+++ b/railties/guides/source/configuring.textile
@@ -181,7 +181,7 @@ There are only a few configuration options for Action View, starting with four o
* +config.action_view.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+.
-* +config.action_view.field_error_proc+ provides an HTML generator for displaying errors that come from Active Record. The default is <tt>Proc.new{ |html_tag, instance| "&lt;div class=\"fieldWithErrors\"&gt;#{html_tag}&lt;/div&gt;" }</tt>
+* +config.action_view.field_error_proc+ provides an HTML generator for displaying errors that come from Active Record. The default is <tt>Proc.new{ |html_tag, instance| "&lt;div class=\"field_with_errors\"&gt;#{html_tag}&lt;/div&gt;" }</tt>
* +config.action_view.default_form_builder+ tells Rails which form builder to use by default. The default is +ActionView::Helpers::FormBuilder+.