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 ActiveSupport::Inflector.inflections do |inflect|
17 inflect.plural(/^([Ss]pecimen)$/i, '\1s')
18 inflect.singular(/^([Ss]pecimen)s?/i, '\1')
19 inflect.plural(/^([Hh]uman)$/i, '\1s')
20 inflect.singular(/^([Hh]uman)s?/i, '\1')