Replace the spam observer with simple after_save callbacks

This commit is contained in:
Tom Hughes 2013-06-25 21:54:02 +01:00
parent 2dc7c505fd
commit ac1f210736
5 changed files with 19 additions and 20 deletions

View file

@ -32,11 +32,6 @@ module OpenStreetMap
# :all can be used as a placeholder for all plugins not explicitly named.
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
# Activate observers that should always be running.
unless STATUS == :database_offline
config.active_record.observers = :spam_observer
end
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
# config.time_zone = 'Central Time (US & Canada)'