]> git.openstreetmap.org Git - rails.git/blob - config/initializers/inflections.rb
Add frozen_string_literal comments to ruby files
[rails.git] / config / initializers / inflections.rb
1 # frozen_string_literal: true
2
3 # Be sure to restart your server when you modify this file.
4
5 # Add new inflection rules using the following format. Inflections
6 # are locale specific, and you may define rules for as many different
7 # locales as you wish. All of these examples are active by default:
8 # ActiveSupport::Inflector.inflections(:en) do |inflect|
9 #   inflect.plural /^(ox)$/i, "\\1en"
10 #   inflect.singular /^(ox)en/i, "\\1"
11 #   inflect.irregular "person", "people"
12 #   inflect.uncountable %w( fish sheep )
13 # end
14
15 # These inflection rules are supported but not enabled by default:
16 # ActiveSupport::Inflector.inflections(:en) do |inflect|
17 #   inflect.acronym "RESTful"
18 # end