diff options
author | Xavier Noria <fxn@hashref.com> | 2010-07-27 00:06:31 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-07-27 00:06:31 +0200 |
commit | 10815e6e25d5feb7d84d8bfb8b6203802268a590 (patch) | |
tree | feee318664b14cbbde924a2b81d10b5cd8bcc562 /railties/guides/source | |
parent | 2e3a86af8cec2d16e093b51a2f846ec9efeff96b (diff) | |
download | rails-10815e6e25d5feb7d84d8bfb8b6203802268a590.tar.gz rails-10815e6e25d5feb7d84d8bfb8b6203802268a590.tar.bz2 rails-10815e6e25d5feb7d84d8bfb8b6203802268a590.zip |
prefer %Q() over escaped double quotes
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 e2487fa36e..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>".html_safe }</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+. |