diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-11-21 20:54:43 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-11-21 20:54:43 +0000 |
commit | 13ab54db484a98a768f5e57e21e00eb7ee01dce4 (patch) | |
tree | 4e349a64e5c89ba0c8842d6ba9dad5ab6ddb86b7 /railties/environments | |
parent | 86883a87ccb7f8b835e7e57a0b6e33e039e058ff (diff) | |
download | rails-13ab54db484a98a768f5e57e21e00eb7ee01dce4.tar.gz rails-13ab54db484a98a768f5e57e21e00eb7ee01dce4.tar.bz2 rails-13ab54db484a98a768f5e57e21e00eb7ee01dce4.zip |
Cleanup documentation a bit and be more specific
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/environments')
-rw-r--r-- | railties/environments/development.rb | 4 | ||||
-rw-r--r-- | railties/environments/environment.rb | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/railties/environments/development.rb b/railties/environments/development.rb index 568ccd0cc5..09a451f9a3 100644 --- a/railties/environments/development.rb +++ b/railties/environments/development.rb @@ -10,9 +10,9 @@ config.whiny_nils = true # Show full error reports and disable caching config.action_controller.consider_all_requests_local = true +config.action_view.debug_rjs = true config.action_controller.perform_caching = false config.action_view.cache_template_extensions = false -config.action_view.debug_rjs = true # Don't care if the mailer can't send -config.action_mailer.raise_delivery_errors = false +config.action_mailer.raise_delivery_errors = false
\ No newline at end of file diff --git a/railties/environments/environment.rb b/railties/environments/environment.rb index 8cbb016ac0..79306b0272 100644 --- a/railties/environments/environment.rb +++ b/railties/environments/environment.rb @@ -34,6 +34,8 @@ Rails::Initializer.run do |config| # Your secret key for verifying cookie session data integrity. # If you change this key, all old sessions will become invalid! + # Make sure the secret is at least 30 characters and all random, + # no regular words or you'll be exposed to dictionary attacks. config.action_controller.session = { :session_key => '_<%= app_name %>_session', :secret => '<%= app_secret %>' |