You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The uppercase version "é" is "É". I expected to receive "Éclaireurs". This affects all characters I tried: ê, ï, à.
It could be argued that it isn't the job of the inflector to work in such cases, but the API is convenient :)
In the Hanami 2.2 app that I'm building, humans will record roles in a field. The roles may be typed in different casings, but I normalize to downcase for sorting, then humanize for display. I will add a #normalized_role to make things consistent, but having this in the inflector sure would have been nice.
Describe the bug
The uppercase version "é" is "É". I expected to receive "Éclaireurs". This affects all characters I tried:
ê
,ï
,à
.It could be argued that it isn't the job of the inflector to work in such cases, but the API is convenient :)
In the Hanami 2.2 app that I'm building, humans will record roles in a field. The roles may be typed in different casings, but I normalize to downcase for sorting, then humanize for display. I will add a
#normalized_role
to make things consistent, but having this in the inflector sure would have been nice.To Reproduce
Expected behavior
My environment
Sonoma 14.5 (23F79)
The text was updated successfully, but these errors were encountered: