diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-25 18:52:52 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-25 18:52:52 +0000 |
commit | ef338e4de4e5a9fa8d1c3b3c93cc59d24c42ec37 (patch) | |
tree | 98842e436e909508b4c0dc23c31737f845f15cc4 /railties/environments/environment.rb | |
parent | 290983be3114cd48f63265466abb57b15cbfb8f5 (diff) | |
download | rails-ef338e4de4e5a9fa8d1c3b3c93cc59d24c42ec37.tar.gz rails-ef338e4de4e5a9fa8d1c3b3c93cc59d24c42ec37.tar.bz2 rails-ef338e4de4e5a9fa8d1c3b3c93cc59d24c42ec37.zip |
Prepare order for uncommenting, use consistent opt options [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/environments/environment.rb')
-rw-r--r-- | railties/environments/environment.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/railties/environments/environment.rb b/railties/environments/environment.rb index fe987e244f..0d5e79d1f9 100644 --- a/railties/environments/environment.rb +++ b/railties/environments/environment.rb @@ -20,13 +20,17 @@ Rails::Initializer.run do |config| # (by default production uses :info, the others :debug) # config.log_level = :debug + # Enable page/fragment caching by setting a file-based store + # (remember to create the caching directory and make it readable to the application) + # config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache" + # Use the database for sessions instead of the file system # (create the session table with 'rake create_sessions_table') # config.action_controller.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) - # config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache" + # Use Active Record's schema dumper instead of SQL when creating the test database + # (enables use of different database adapters for development and test environments) + # config.active_record.schema_format = :ruby # Activate observers that should always be running # config.active_record.observers = :cacher, :garbage_collector @@ -34,10 +38,6 @@ Rails::Initializer.run do |config| # Make Active Record use UTC-base instead of local time # config.active_record.default_timezone = :utc - # Use Active Record's schema dumper instead of SQL when creating the test database - # (enables use of different database adapters for development and test environments) - # config.active_record.schema_format = :ruby - # See Rails::Configuration for more options end |