[ActiveSupport] Add option to NOT strip a trailing '_id' in humanize

(reposting since my previous post didn’t seem to go through)

It would be good to have an option to NOT strip a trailing ‘_id’ in humanize.

There are times when we need to explicitly show the word ID and the current implementation doesn’t allow it.

Some real world cases:

  1. member_id => Member id

  2. transaction_id => Transaction id

  3. etc.

PR: Add optional remove_suffix parameter for humanize by juanpaulo · Pull Request #17985 · rails/rails · GitHub