diff options
author | francis <francis> | 2008-01-04 16:15:40 +0000 |
---|---|---|
committer | francis <francis> | 2008-01-04 16:15:40 +0000 |
commit | 632b33cc0ca09c398bb1d4a21000b39987b53220 (patch) | |
tree | 6f053d1353869d04b60ce54b320dbc32d9b78ea0 /config/environment.rb | |
parent | f30b34ecfd7c9916ee9b9034d5c4cd4cc7b42746 (diff) |
Remove spurious "Outgoing messages is invalid" error
Diffstat (limited to 'config/environment.rb')
-rw-r--r-- | config/environment.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/config/environment.rb b/config/environment.rb index 8c1d4387b..426625102 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -120,5 +120,12 @@ module ActionMailer end end - +# Monkeypatch! Remove individual error messages from an ActiveRecord. +module ActiveRecord + class Errors + def delete(key) + @errors.delete(key) + end + end +end |