aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
diff options
context:
space:
mode:
authorDavid Lee <davidomundo@gmail.com>2011-05-09 16:16:55 -0700
committerDavid Lee <davidomundo@gmail.com>2011-06-11 01:58:26 -0700
commitfa3fc520698092a002562107731b0d3b97e203d4 (patch)
tree4ce637740d4fde564d4e3e008175ff85fa1a62b5 /railties/guides/source
parent1cbe917237c3f8e6bdcbe97835b26b55354b8566 (diff)
downloadrails-fa3fc520698092a002562107731b0d3b97e203d4.tar.gz
rails-fa3fc520698092a002562107731b0d3b97e203d4.tar.bz2
rails-fa3fc520698092a002562107731b0d3b97e203d4.zip
Make utf8 enforcer param customizeable
Diffstat (limited to 'railties/guides/source')
-rw-r--r--railties/guides/source/configuring.textile4
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile
index a4cc62c117..923de8b7c0 100644
--- a/railties/guides/source/configuring.textile
+++ b/railties/guides/source/configuring.textile
@@ -330,7 +330,9 @@ And can reference in the view with the following code:
<%= stylesheet_link_tag :special %>
</ruby>
-* +ActionView::Helpers::AssetTagHelper::AssetPaths.cache_asset_ids+ With the cache enabled, the asset tag helper methods will make fewer expensive file system calls (the default implementation checks the file system timestamp). However this prevents you from modifying any asset files while the server is running.
+* +config.action_view.utf8_enforcer_param+ tells Rails what the +name+ attribute should be for the hidden tag that's used for enforcing UTF8 encoding in form submissions. The default is +'utf8'+.
+
+* +config.action_view.cache_asset_ids+ With the cache enabled, the asset tag helper methods will make fewer expensive file system calls (the default implementation checks the file system timestamp). However this prevents you from modifying any asset files while the server is running.
h4. Configuring Action Mailer