aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers
diff options
context:
space:
mode:
authorCliff Pruitt <cliff.pruitt@cliffpruitt.com>2019-07-31 12:11:31 -0400
committerCliff Pruitt <cliff.pruitt@cliffpruitt.com>2019-07-31 12:11:31 -0400
commitfc6ec7bfc7d1cc13380ac91eac3caeaa5e37df02 (patch)
tree0c788144fede2f6db763828b289acb87368a050e /actionview/lib/action_view/helpers
parent4c8c8c87b07844b26564ca6aa2052660e601bc3d (diff)
downloadrails-fc6ec7bfc7d1cc13380ac91eac3caeaa5e37df02.tar.gz
rails-fc6ec7bfc7d1cc13380ac91eac3caeaa5e37df02.tar.bz2
rails-fc6ec7bfc7d1cc13380ac91eac3caeaa5e37df02.zip
Prevent error on transliterate with frozen strings.
ActiveSupport::Inflector.transliterate mutates strings by changing encodings. Prior to this commit passing a frozen string would raise a `FrozenError`. This change duplicates the internal string, if frozen, before transliterating.
Diffstat (limited to 'actionview/lib/action_view/helpers')
0 files changed, 0 insertions, 0 deletions