diff options
Diffstat (limited to 'railties/lib/generator/generators/app/templates/config/initializers/inflections.rb')
-rw-r--r-- | railties/lib/generator/generators/app/templates/config/initializers/inflections.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/railties/lib/generator/generators/app/templates/config/initializers/inflections.rb b/railties/lib/generator/generators/app/templates/config/initializers/inflections.rb new file mode 100644 index 0000000000..d531b8bb82 --- /dev/null +++ b/railties/lib/generator/generators/app/templates/config/initializers/inflections.rb @@ -0,0 +1,10 @@ +# Be sure to restart your server when you modify this file. + +# Add new inflection rules using the following format +# (all these examples are active by default): +# ActiveSupport::Inflector.inflections do |inflect| +# inflect.plural /^(ox)$/i, '\1en' +# inflect.singular /^(ox)en/i, '\1' +# inflect.irregular 'person', 'people' +# inflect.uncountable %w( fish sheep ) +# end |