aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/widgets_controller_spec.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-05-07 11:41:12 +0100
committerLouise Crow <louise.crow@gmail.com>2015-05-07 12:16:15 +0100
commitf75b1de52432018c19d9fce04b1127ab114df0ea (patch)
tree53d204c0bf6e11dd90e113b4244a3127bf720e01 /spec/controllers/widgets_controller_spec.rb
parent27e518b20d153fd9e63ee868cf4940261d34d66c (diff)
Force the encoding of values returned from YAML.
This is a workaround for an issue where YAML in ruby 1.8 tags UTF-8 heavy strings as binary, resulting in them being retrieved under 1.9 as ASCII-8BIT which can't be concatenated with UTF-8. Described as "Deep deep YAML oddness" in https://www.zendesk.com/blog/upgrade-the-road-to-1-9/.
Diffstat (limited to 'spec/controllers/widgets_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions