Browse files

Add documentation for secret_token to config guide

  • Loading branch information...
1 parent fbdd72e commit dc4dcb155589375a22c4fafea63f8bff85dd7044 @radar radar committed Nov 27, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 railties/guides/source/configuring.textile
2 railties/guides/source/configuring.textile
@@ -81,6 +81,8 @@ h4. Rails General Configuration
* +config.root+ configures the root path of the application.
+* +config.secret_token+ used for specifying a key which allows sessions for the application to be verified against a known secure key to prevent tampering.
* +config.serve_static_assets+ configures Rails to serve static assets. Defaults to _true_, but in the production environment is turned off. The server software used to run the application should be used to serve the assets instead.
* +config.time_zone+ sets the default time zone for the application and enables time zone awareness for Active Record.

0 comments on commit dc4dcb1

Please sign in to comment.