source:
ruby/trunk/config/initializers/inflections.rb
Last change on this file was 164, checked in by , 15 years ago | |
---|---|
File size: 362 bytes |
Line | |
---|---|
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 | # 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 |
Note:
See TracBrowser
for help on using the repository browser.