diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-24 14:20:22 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-24 14:20:22 -0400 |
commit | 5581530930129d7854ed5d99d058939ad9c790c2 (patch) | |
tree | 157515f64b34a86e0f6d33dc641e06a7ecc2982c /config/initializers/inflections.rb | |
download | thoughts-5581530930129d7854ed5d99d058939ad9c790c2.tar.gz thoughts-5581530930129d7854ed5d99d058939ad9c790c2.tar.bz2 thoughts-5581530930129d7854ed5d99d058939ad9c790c2.zip |
Initial commit
Diffstat (limited to 'config/initializers/inflections.rb')
-rw-r--r-- | config/initializers/inflections.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb new file mode 100644 index 0000000..ac033bf --- /dev/null +++ b/config/initializers/inflections.rb | |||
@@ -0,0 +1,16 @@ | |||
1 | # Be sure to restart your server when you modify this file. | ||
2 | |||
3 | # Add new inflection rules using the following format. Inflections | ||
4 | # are locale specific, and you may define rules for as many different | ||
5 | # locales as you wish. All of these examples are active by default: | ||
6 | # ActiveSupport::Inflector.inflections(:en) do |inflect| | ||
7 | # inflect.plural /^(ox)$/i, '\1en' | ||
8 | # inflect.singular /^(ox)en/i, '\1' | ||
9 | # inflect.irregular 'person', 'people' | ||
10 | # inflect.uncountable %w( fish sheep ) | ||
11 | # end | ||
12 | |||
13 | # These inflection rules are supported but not enabled by default: | ||
14 | # ActiveSupport::Inflector.inflections(:en) do |inflect| | ||
15 | # inflect.acronym 'RESTful' | ||
16 | # end | ||