We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d4ecc1 commit d573bdbCopy full SHA for d573bdb
config/initializers/inflections.rb
@@ -4,9 +4,9 @@
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'
+# inflect.plural /^(ox)$/i, "\\1en"
+# inflect.singular /^(ox)en/i, "\\1"
+# inflect.irregular "person", "people"
10
# inflect.uncountable %w( fish sheep )
11
# end
12
0 commit comments