aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/channel/naming_test.rb
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2017-11-06 14:46:42 +0000
committerAndrew White <andrew.white@unboxed.co>2017-11-06 14:47:47 +0000
commit0ddde0a8fca6a0ca3158e3329713959acd65605d (patch)
treeac41672e93e2ed1d3ae26dd3b427e688bc41c6b3 /actioncable/test/channel/naming_test.rb
parent7d1d6c4c0bde7364aeb66c22514a78bd9f8f1ecd (diff)
downloadrails-0ddde0a8fca6a0ca3158e3329713959acd65605d.tar.gz
rails-0ddde0a8fca6a0ca3158e3329713959acd65605d.tar.bz2
rails-0ddde0a8fca6a0ca3158e3329713959acd65605d.zip
Fix acronym support in `humanize`
Acronym inflections are stored with lowercase keys in the hash but the match wasn't being lowercased before being looked up in the hash. This shouldn't have any performance impact because before it would fail to find the acronym and perform the `downcase` operation anyway. Fixes #31052.
Diffstat (limited to 'actioncable/test/channel/naming_test.rb')
0 files changed, 0 insertions, 0 deletions