aboutsummaryrefslogtreecommitdiff
path: root/config/initializers/inflections.rb
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2020-10-05 14:11:43 +0200
committerhellekin <hellekin@cepheide.org>2020-10-05 14:11:43 +0200
commit8fa725f194b129e11514c2291067576c886c3232 (patch)
tree9695f9f2a311a899a4a4342a8e17a7371876f7e2 /config/initializers/inflections.rb
downloadincommon-map-8fa725f194b129e11514c2291067576c886c3232.tar.gz
rails new incommon-map -d postgresql -C -T
Diffstat (limited to 'config/initializers/inflections.rb')
-rw-r--r--config/initializers/inflections.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb
new file mode 100644
index 0000000..ac033bf
--- /dev/null
+++ b/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