summaryrefslogtreecommitdiff
path: root/config/initializers/inflections.rb
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-02-20 19:52:42 -0600
committerHombreLaser <sebastian-440@live.com>2023-02-20 19:52:42 -0600
commita4d29f635c7c6bec4a15ab43956a2be896b0ff11 (patch)
tree51988b660f64197d3730de9e85737e38efef49d8 /config/initializers/inflections.rb
Commit inicial
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..3860f65
--- /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