aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments/environment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/environments/environment.rb')
-rw-r--r--railties/environments/environment.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/environments/environment.rb b/railties/environments/environment.rb
index c1da6f5482..1c3b1219e4 100644
--- a/railties/environments/environment.rb
+++ b/railties/environments/environment.rb
@@ -18,6 +18,10 @@ Rails::Initializer.run do |config|
# (by default production uses INFO, the others DEBUG)
# config.log_level = Logger::DEBUG
+ # Use the database for sessions instead of the file system
+ # (create the session table with 'rake create_session_table')
+ # config.session_options[:database_manager] = CGI::Session::ActiveRecordStore
+
# See Rails::Configuration for more options
end