]> git.openstreetmap.org Git - rails.git/blobdiff - config/environment.rb
Show administrators the status and spam score for a user
[rails.git] / config / environment.rb
index 018e97451501ceacab36f74ac7e5148e2f6cb449..d8f9b2fc85ca0503146b1c55ff390c86bf1003cc 100644 (file)
@@ -100,7 +100,7 @@ Rails::Initializer.run do |config|
   config.active_record.schema_format = :sql
 
   # Activate observers that should always be running
-  # config.active_record.observers = :cacher, :garbage_collector
+  config.active_record.observers = :spam_observer
 
   # Make Active Record use UTC-base instead of local time
   config.active_record.default_timezone = :utc