@@ -1,10 +1,10 | |||||
1 | # Be sure to restart your server when you modify this file. |
|
1 | # Be sure to restart your server when you modify this file. | |
2 |
|
2 | |||
3 |
# Add new inflection rules using the following format |
|
3 | # Add new inflection rules using the following format | |
4 | # (all these examples are active by default): |
|
4 | # (all these examples are active by default): | |
5 | # ActiveSupport::Inflector.inflections do |inflect| |
|
5 | # ActiveSupport::Inflector.inflections do |inflect| | |
6 | # inflect.plural /^(ox)$/i, '\1en' |
|
6 | # inflect.plural /^(ox)$/i, '\1en' | |
7 | # inflect.singular /^(ox)en/i, '\1' |
|
7 | # inflect.singular /^(ox)en/i, '\1' | |
8 | # inflect.irregular 'person', 'people' |
|
8 | # inflect.irregular 'person', 'people' | |
9 | # inflect.uncountable %w( fish sheep ) |
|
9 | # inflect.uncountable %w( fish sheep ) | |
10 | # end |
|
10 | # end |
General Comments 0
You need to be logged in to leave comments.
Login now