aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2012-04-07 19:29:17 +0200
committerPiotr Sarnacki <drogus@gmail.com>2012-04-28 22:32:46 -0700
commite6ab0d56cf5d376f4b351282c606ecc74e6fad9a (patch)
tree73fc6ea95a96c41c91e321ff46fdf893275e857a /guides/source
parent1a4e27ff96b3b7add1a4a43ca757ea8ee6c05c00 (diff)
downloadrails-e6ab0d56cf5d376f4b351282c606ecc74e6fad9a.tar.gz
rails-e6ab0d56cf5d376f4b351282c606ecc74e6fad9a.tar.bz2
rails-e6ab0d56cf5d376f4b351282c606ecc74e6fad9a.zip
Lazy load `default_form_builder` if it's passed as a string
closes #3341
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/configuring.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/configuring.textile b/guides/source/configuring.textile
index 28c138c714..68426221bf 100644
--- a/guides/source/configuring.textile
+++ b/guides/source/configuring.textile
@@ -362,7 +362,7 @@ h4. Configuring Action View
Proc.new { |html_tag, instance| %Q(<div class="field_with_errors">#{html_tag}</div>).html_safe }
</ruby>
-* +config.action_view.default_form_builder+ tells Rails which form builder to use by default. The default is +ActionView::Helpers::FormBuilder+.
+* +config.action_view.default_form_builder+ tells Rails which form builder to use by default. The default is +ActionView::Helpers::FormBuilder+. If you want your form builder class to be loaded after initialization (so it's reloaded on each request in development), you can pass it as a +String+
* +config.action_view.logger+ accepts a logger conforming to the interface of Log4r or the default Ruby Logger class, which is then used to log information from Action View. Set to +nil+ to disable logging.