diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-07-26 22:41:24 -0400 |
---|---|---|
committer | Neeraj Singh <neerajdotname@gmail.com> | 2010-07-26 22:41:24 -0400 |
commit | c77adb40ccbd48fd673576d387d0df260f7de59e (patch) | |
tree | bfd5d4b25cdfd131ba1a749e28db4e6d721670d5 /railties/guides/source | |
parent | b357aedbf655976590fba4547dbe3edaf5cc8288 (diff) | |
parent | 10815e6e25d5feb7d84d8bfb8b6203802268a590 (diff) | |
download | rails-c77adb40ccbd48fd673576d387d0df260f7de59e.tar.gz rails-c77adb40ccbd48fd673576d387d0df260f7de59e.tar.bz2 rails-c77adb40ccbd48fd673576d387d0df260f7de59e.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/configuring.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile index 2ab28596d8..9e0c7cd060 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| "<div class=\"field_with_errors\">#{html_tag}</div>" }</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| %Q(%<div class="field_with_errors">#{html_tag}</div>).html_safe }</tt> * +config.action_view.default_form_builder+ tells Rails which form builder to use by default. The default is +ActionView::Helpers::FormBuilder+. |