aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/code/getting_started/config/initializers/inflections.rb
blob: 5d8d9be237b28d4ebdad9cec9510764ab88154e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Be sure to restart your server when you modify this file.

# Add new inflection rules using the following format
# (all these examples are active by default):
# ActiveSupport::Inflector.inflections do |inflect|
#   inflect.plural /^(ox)$/i, '\1en'
#   inflect.singular /^(ox)en/i, '\1'
#   inflect.irregular 'person', 'people'
#   inflect.uncountable %w( fish sheep )
# end
#
# These inflection rules are supported but not enabled by default:
# ActiveSupport::Inflector.inflections do |inflect|
#   inflect.acronym 'RESTful'
# end