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:
parent
5f8e062076
commit
3f1e11f6b4
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue