Merge tag 'v4.4.0-rc.1' into chinwag-next
This commit is contained in:
commit
fbbcaf4efd
2660 changed files with 83548 additions and 52192 deletions
|
|
@ -18,7 +18,7 @@ class StatusLengthValidator < ActiveModel::Validator
|
|||
end
|
||||
|
||||
def countable_length(str)
|
||||
str.mb_chars.grapheme_length
|
||||
str.each_grapheme_cluster.size
|
||||
end
|
||||
|
||||
def combined_text(status)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue