alias Utf8SafeYAMLColumn to YAMLColumn for unmarshalling

Change-Id: I3aeea850b7d39fd476e887ea3f4dbf90d143ce58
Reviewed-on: https://gerrit.instructure.com/77844
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
This commit is contained in:
James Williams 2016-04-25 12:26:33 -06:00
parent 5f8e062076
commit 3f1e11f6b4
1 changed files with 4 additions and 0 deletions

View File

@ -68,6 +68,10 @@ class ActionController::Base
before_filter :force_utf8_params
end
module ActiveRecord::Coders
Utf8SafeYAMLColumn = YAMLColumn
end
# Fix for https://bugs.ruby-lang.org/issues/7278 , which was filling up our logs with these warnings
if RUBY_VERSION < "2."
require 'net/protocol'