aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_support_core_extensions.md
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2014-09-15 21:41:25 +0930
committerMatthew Draper <matthew@trebex.net>2014-09-15 21:41:25 +0930
commit62955c77bf380fe39005c1a7de8b8fde769af2cd (patch)
tree87940d31e4c7efdc7ed9edec666889f49a06747d /guides/source/active_support_core_extensions.md
parentc0a4a300f75a1e63ab3d8d8c31315bf3e456904e (diff)
downloadrails-62955c77bf380fe39005c1a7de8b8fde769af2cd.tar.gz
rails-62955c77bf380fe39005c1a7de8b8fde769af2cd.tar.bz2
rails-62955c77bf380fe39005c1a7de8b8fde769af2cd.zip
As of Unicode 6.3, Mongolian Vowel Separator is not whitespace
Ruby 2.2 knows this, and no longer matches it with [[:space:]], so it's not a good candidate for testing String#squish.
Diffstat (limited to 'guides/source/active_support_core_extensions.md')
-rw-r--r--guides/source/active_support_core_extensions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_support_core_extensions.md b/guides/source/active_support_core_extensions.md
index 2e1a3ee5dc..de42f13145 100644
--- a/guides/source/active_support_core_extensions.md
+++ b/guides/source/active_support_core_extensions.md
@@ -1268,7 +1268,7 @@ The method `squish` strips leading and trailing whitespace, and substitutes runs
There's also the destructive version `String#squish!`.
-Note that it handles both ASCII and Unicode whitespace like mongolian vowel separator (U+180E).
+Note that it handles both ASCII and Unicode whitespace.
NOTE: Defined in `active_support/core_ext/string/filters.rb`.