diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-12 18:05:46 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-12 18:05:46 +0000 |
commit | 284570fd00cc2a61dd93b35d270b1d8386618185 (patch) | |
tree | 18d683f3576716b1727623d460add4f521c207a9 /railties/environments | |
parent | 87e7ed8aef159674447b75b83746ba0e7d2e44e3 (diff) | |
download | rails-284570fd00cc2a61dd93b35d270b1d8386618185.tar.gz rails-284570fd00cc2a61dd93b35d270b1d8386618185.tar.bz2 rails-284570fd00cc2a61dd93b35d270b1d8386618185.zip |
Make it even easier to set a new session store and use symbols for log level too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/environments')
-rw-r--r-- | railties/environments/environment.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/environments/environment.rb b/railties/environments/environment.rb index b6fd5e5f73..ea381a158a 100644 --- a/railties/environments/environment.rb +++ b/railties/environments/environment.rb @@ -15,12 +15,12 @@ Rails::Initializer.run do |config| # config.load_paths += %W( #{RAILS_ROOT}/app/services #{RAILS_ROOT}/app/services ) # Force all environments to use the same logger level - # (by default production uses INFO, the others DEBUG) - # config.log_level = Logger::DEBUG + # (by default production uses :info, the others :debug) + # config.log_level = :debug # Use the database for sessions instead of the file system # (create the session table with 'rake create_sessions_table') - # config.session_options[:database_manager] = CGI::Session::ActiveRecordStore + # config.session_store = :active_record_store # Enable page/fragment caching by setting a file-based store # (remember to create the caching directory and make it readable to the application) |