(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: https://github.com/rails/rails/pull/17985

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to