Skip to content

Fix humanize for strings ending with id#48348

Merged
rafaelfranca merged 1 commit into
rails:mainfrom
fatkodima:fix-humanize-id-suffix
May 31, 2023
Merged

Fix humanize for strings ending with id#48348
rafaelfranca merged 1 commit into
rails:mainfrom
fatkodima:fix-humanize-id-suffix

Conversation

@fatkodima

Copy link
Copy Markdown
Member

Fixes #48343.

The regression was introduced in #41305.

cc @byroot

@rafaelfranca rafaelfranca merged commit 4e71edf into rails:main May 31, 2023
rafaelfranca added a commit that referenced this pull request May 31, 2023
Fix `humanize` for strings ending with ` id`
@byroot

byroot commented May 31, 2023

Copy link
Copy Markdown
Member

Thanks both

@fatkodima fatkodima deleted the fix-humanize-id-suffix branch May 31, 2023 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ActiveSupport::Inflector.humanize changes it's behaviour in Rails 7+

3 participants