diff options
| author | hukl <hukl@eight.local> | 2009-01-29 20:41:18 +0100 |
|---|---|---|
| committer | hukl <hukl@eight.local> | 2009-01-29 20:41:18 +0100 |
| commit | b298d3e8eeb10903bd4640dab7c11d0dc1be9d38 (patch) | |
| tree | d8d0a8449972a46e551be3b94e7dd02b6107b119 /config/initializers/inflections.rb | |
initial import with edge rails included as a submodule
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 | ||
