about summary refs log tree commit diff stats
path: root/test/dummy/config/initializers/inflections.rb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-27 23:51:23 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-27 23:51:23 -0400
commitd09db2d6d0727faba8e5078900f2fbd1e18ea49f (patch)
tree978edaa0c321477d3c04f515cd13da0051a5459f /test/dummy/config/initializers/inflections.rb
parent75a7c7131f6c9a6d80d16055130609eb97f37dfd (diff)
downloadwittle-d09db2d6d0727faba8e5078900f2fbd1e18ea49f.tar.gz
wittle-d09db2d6d0727faba8e5078900f2fbd1e18ea49f.tar.bz2
wittle-d09db2d6d0727faba8e5078900f2fbd1e18ea49f.zip
it's an engine now!
Diffstat (limited to 'test/dummy/config/initializers/inflections.rb')
-rw-r--r--test/dummy/config/initializers/inflections.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/dummy/config/initializers/inflections.rb b/test/dummy/config/initializers/inflections.rb new file mode 100644 index 0000000..3860f65 --- /dev/null +++ b/test/dummy/config/initializers/inflections.rb
@@ -0,0 +1,16 @@
1# Be sure to restart your server when you modify this file.
2
3# Add new inflection rules using the following format. Inflections
4# are locale specific, and you may define rules for as many different
5# locales as you wish. All of these examples are active by default:
6# ActiveSupport::Inflector.inflections(:en) do |inflect|
7# inflect.plural /^(ox)$/i, "\\1en"
8# inflect.singular /^(ox)en/i, "\\1"
9# inflect.irregular "person", "people"
10# inflect.uncountable %w( fish sheep )
11# end
12
13# These inflection rules are supported but not enabled by default:
14# ActiveSupport::Inflector.inflections(:en) do |inflect|
15# inflect.acronym "RESTful"
16# end