zeitwerk: add inflections

This commit is contained in:
Pierre de La Morinerie 2021-02-09 12:08:01 +00:00
parent 7d1c79bf4b
commit 0af7188d8c

View file

@ -9,6 +9,9 @@ ActiveSupport::Inflector.inflections(:en) do |inflect|
# inflect.irregular 'person', 'people'
# inflect.uncountable %w( fish sheep )
inflect.acronym 'API'
inflect.acronym 'ASN1'
inflect.acronym 'IP'
inflect.acronym 'JSON'
inflect.acronym 'RNA'
inflect.acronym 'URL'
inflect.irregular 'type_de_champ', 'types_de_champ'