From 8af754e1087d662ab68964aa67685d48b8e7c4fc Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 10 Oct 2018 08:03:13 +0100 Subject: Run rails new testapp --skip-bundle --- testapp/config/initializers/inflections.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 testapp/config/initializers/inflections.rb (limited to 'testapp/config/initializers/inflections.rb') diff --git a/testapp/config/initializers/inflections.rb b/testapp/config/initializers/inflections.rb new file mode 100644 index 0000000..ac033bf --- /dev/null +++ b/testapp/config/initializers/inflections.rb @@ -0,0 +1,16 @@ +# Be sure to restart your server when you modify this file. + +# Add new inflection rules using the following format. Inflections +# are locale specific, and you may define rules for as many different +# locales as you wish. All of these examples are active by default: +# ActiveSupport::Inflector.inflections(:en) 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(:en) do |inflect| +# inflect.acronym 'RESTful' +# end -- cgit v1.2.3