aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides/source/configuring.txt
diff options
context:
space:
mode:
authorMike Gunderloy <MikeG1@larkfarm.com>2008-11-16 20:46:03 -0600
committerMike Gunderloy <MikeG1@larkfarm.com>2008-11-16 20:46:36 -0600
commit80f5f265471e8d53b66f432c203206c1a4197121 (patch)
tree0f3a20ce17969c81d7212b3a4460697cb0a257b6 /railties/doc/guides/source/configuring.txt
parent1d8c4cf6e0b115bac598f7d817ee98dc298580ff (diff)
downloadrails-80f5f265471e8d53b66f432c203206c1a4197121.tar.gz
rails-80f5f265471e8d53b66f432c203206c1a4197121.tar.bz2
rails-80f5f265471e8d53b66f432c203206c1a4197121.zip
Added Action View and Action Mailer documentation to the Config guide.
Diffstat (limited to 'railties/doc/guides/source/configuring.txt')
-rw-r--r--railties/doc/guides/source/configuring.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/railties/doc/guides/source/configuring.txt b/railties/doc/guides/source/configuring.txt
index dde04ffb05..1fb73abbb8 100644
--- a/railties/doc/guides/source/configuring.txt
+++ b/railties/doc/guides/source/configuring.txt
@@ -101,8 +101,26 @@ The Active Record session store can also be configured:
=== Configuring Action View
+There are only a few configuration options for Action View, starting with four on +ActionView::Base+:
+
++debug_rjs+ specifies whether RJS responses should be wrapped in a try/catch block that alert()s the caught exception (and then re-raises it). The default is +false+.
+
++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>" }+
+
++default_form_builder+ tells Rails which form builder to use by default. The default is +ActionView::Helpers::FormBuilder+.
+
+The ERB template handler supplies one additional option:
+
++ActionView::TemplateHandlers::ERB.erb_trim_mode+ gives the trim mode to be used by ERB. It defaults to +'-'+.
+
=== Configuring Action Mailer
+There are a number of settings available on +ActionMailer::Base+:
+
+
+
=== Configuring Active Resource
=== Configuring Active Support