ActiveSupport::Inflector - titleize, humanize
Did you know that humanize (and titleize that calls humanize) strips out the "_id" postfix? I had symbol:
type = :industry_id
and using:
type.to_s.titleize
in the view displayed it as "Industry"
seen from Germany

seen from United Kingdom
seen from United States
seen from Romania
seen from Germany

seen from Netherlands

seen from Singapore
seen from Germany

seen from South Africa

seen from Germany

seen from Czechia

seen from Türkiye
seen from Israel
seen from Germany

seen from United States
seen from Singapore

seen from Türkiye
seen from Yemen

seen from Malaysia

seen from Türkiye
ActiveSupport::Inflector - titleize, humanize
Did you know that humanize (and titleize that calls humanize) strips out the "_id" postfix? I had symbol:
type = :industry_id
and using:
type.to_s.titleize
in the view displayed it as "Industry"