1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
5 # Be sure to restart your server when you modify this file.
7 # Add new inflection rules using the following format
8 # (all these examples are active by default):
9 # ActiveSupport::Inflector.inflections do |inflect|
10 # inflect.plural /^(ox)$/i, '\1en'
11 # inflect.singular /^(ox)en/i, '\1'
12 # inflect.irregular 'person', 'people'
13 # inflect.uncountable %w( fish sheep )
16 # These inflection rules are supported but not enabled by default:
17 # ActiveSupport::Inflector.inflections do |inflect|
18 # inflect.acronym 'RESTful'
21 ActiveSupport::Inflector.inflections do |inflect|
22 inflect.plural /^([Ss]pecimen)$/i, '\1s'
23 inflect.singular /^([Ss]pecimen)s?/i, '\1'
24 inflect.plural /^([Hh]uman)$/i, '\1s'
25 inflect.singular /^([Hh]uman)s?/i, '\1'