From 948be2c998c9e3e56da742b38bc0ab57b75c8d2d Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 25 Sep 2005 08:26:29 +0000 Subject: Added new symbol-driven approach to activating observers with Base#observer [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2326 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/environments/environment.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'railties/environments') diff --git a/railties/environments/environment.rb b/railties/environments/environment.rb index 59ac96343e..60d02785ed 100644 --- a/railties/environments/environment.rb +++ b/railties/environments/environment.rb @@ -18,9 +18,6 @@ Rails::Initializer.run do |config| # (by default production uses :info, the others :debug) # config.log_level = :debug - # Only include the connection adapters you're actually going to use - # config.connection_adapters = %w( mysql postgresql sqlite sqlserver db2 oci ) - # 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 @@ -29,6 +26,9 @@ Rails::Initializer.run do |config| # (remember to create the caching directory and make it readable to the application) # config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache" + # Activate observers that should always be running + # config.active_record.observer :cacher, :garbage_collector + # Make Active Record use UTC-base instead of local time # config.active_record.default_timezone = :utc -- cgit v1.2.3