aboutsummaryrefslogtreecommitdiffstats
path: root/config/environment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/environment.rb')
-rw-r--r--config/environment.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/config/environment.rb b/config/environment.rb
index 3da236c13..9da796977 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -90,15 +90,6 @@ if (MySociety::Config.get("DOMAIN", "") != "")
ActionController::Base.asset_host = MySociety::Config.get("DOMAIN", 'localhost:3000')
end
-# Monkeypatch! Method to remove individual error messages from an ActiveRecord.
-module ActiveRecord
- class Errors
- def delete(key)
- @errors.delete(key)
- end
- end
-end
-
# Monkeypatch! Hack for admin pages, when proxied via https on mySociety servers, they
# need a relative URL.
module WillPaginate
@@ -124,6 +115,7 @@ require 'timezone_fixes.rb'
require 'fcgi_fixes.rb'
require 'use_spans_for_errors.rb'
require 'make_html_4_compliant.rb'
+#require 'activerecord_errors_extensions.rb'
# XXX temp debug for SQL logging production sites
#ActiveRecord::Base.logger = Logger.new(STDOUT)