From 13ab54db484a98a768f5e57e21e00eb7ee01dce4 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 21 Nov 2007 20:54:43 +0000 Subject: Cleanup documentation a bit and be more specific git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/environments/development.rb | 4 ++-- railties/environments/environment.rb | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'railties') 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 %>' -- cgit v1.2.3