diff options
author | Francesco RodrÃguez <frodsan@me.com> | 2018-10-16 22:36:30 +0200 |
---|---|---|
committer | Jeremy Daer <jeremydaer@gmail.com> | 2018-10-16 16:32:56 -0700 |
commit | d234dd677a54d2ec787b8a2ee552b620fe6c3bb5 (patch) | |
tree | b8367eb803a9dd99a52c17832afb362a85e74c4c /activerecord/lib/active_record/database_configurations.rb | |
parent | 6647341aead6b90c57dd0e9c42b0350f0747de45 (diff) | |
download | rails-d234dd677a54d2ec787b8a2ee552b620fe6c3bb5.tar.gz rails-d234dd677a54d2ec787b8a2ee552b620fe6c3bb5.tar.bz2 rails-d234dd677a54d2ec787b8a2ee552b620fe6c3bb5.zip |
Refactor Chars#reverse and Chars#grapheme_length
Use \X meta character directly to get grapheme clusters.
Thanks to @mtsmfm for the tip:
https://github.com/rails/rails/pull/34123#issuecomment-429028878
r? @jeremy
Diffstat (limited to 'activerecord/lib/active_record/database_configurations.rb')
0 files changed, 0 insertions, 0 deletions