diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-25 08:26:29 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-25 08:26:29 +0000 |
commit | 948be2c998c9e3e56da742b38bc0ab57b75c8d2d (patch) | |
tree | 9b078f37ccefd4c0943c1c0080c5a1a572118d4d /railties | |
parent | 2346f5716f7b08168b74b29e0279d51c51557b08 (diff) | |
download | rails-948be2c998c9e3e56da742b38bc0ab57b75c8d2d.tar.gz rails-948be2c998c9e3e56da742b38bc0ab57b75c8d2d.tar.bz2 rails-948be2c998c9e3e56da742b38bc0ab57b75c8d2d.zip |
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
Diffstat (limited to 'railties')
-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 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 |