diff options
| author | Teddy Wing | 2015-12-30 16:58:07 -0800 |
|---|---|---|
| committer | Teddy Wing | 2015-12-30 17:45:24 -0800 |
| commit | 6674d1f2f5ec395f90d958001dce4a20cdad7879 (patch) | |
| tree | 782d2d4bcfeb3d3fbd8f0d5a5c1eb46165ab5e0b /config/initializers/inflections.rb | |
| download | Evernote-Rails-Example-6674d1f2f5ec395f90d958001dce4a20cdad7879.tar.bz2 | |
Initial commit. Base Rails 4.2.5 project.
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 @@ +# Be sure to restart your server when you modify this file. + +# Add new inflection rules using the following format. Inflections +# are locale specific, and you may define rules for as many different +# locales as you wish. All of these examples are active by default: +# ActiveSupport::Inflector.inflections(:en) do |inflect| +# inflect.plural /^(ox)$/i, '\1en' +# inflect.singular /^(ox)en/i, '\1' +# inflect.irregular 'person', 'people' +# inflect.uncountable %w( fish sheep ) +# end + +# These inflection rules are supported but not enabled by default: +# ActiveSupport::Inflector.inflections(:en) do |inflect| +# inflect.acronym 'RESTful' +# end |
