aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2012-04-28 23:02:39 -0700
committerPiotr Sarnacki <drogus@gmail.com>2012-04-28 23:02:39 -0700
commitbeba8267c96a3dbc1f505ecc099dbf14db8dde4c (patch)
tree22d28096089a333e16b14111f6cd484f5ab4dcfd /railties
parent7dc83f78232a6dfcdd70292e831403933f57347b (diff)
downloadrails-beba8267c96a3dbc1f505ecc099dbf14db8dde4c.tar.gz
rails-beba8267c96a3dbc1f505ecc099dbf14db8dde4c.tar.bz2
rails-beba8267c96a3dbc1f505ecc099dbf14db8dde4c.zip
Lazy load `default_form_builder` if it's passed as a string
closes #3341
Diffstat (limited to 'railties')
-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 60034cdda5..3466e1c3f4 100644
--- a/railties/guides/source/configuring.textile
+++ b/railties/guides/source/configuring.textile
@@ -345,7 +345,7 @@ There are only a few configuration options for Action View, starting with three
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.erb_trim_mode+ gives the trim mode to be used by ERB. It defaults to +'-'+. See the "ERB documentation":http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/ for more information.