diff --git a/railties/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb.tt index ceb4902f3ca..3860f659ead 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb.tt @@ -4,8 +4,8 @@ # 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.plural /^(ox)$/i, "\\1en" +# inflect.singular /^(ox)en/i, "\\1" # inflect.irregular "person", "people" # inflect.uncountable %w( fish sheep ) # end