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