diff options
| author | mo khan <mo@mokhan.ca> | 2014-02-20 18:06:41 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-02-20 18:06:41 -0700 |
| commit | 1bff8ede68b131f183c96eafacb99df6c9ee514a (patch) | |
| tree | 1c6be6f9075ef519bb24b84003544a5b31fe41b4 /config/initializers/inflections.rb | |
| parent | 734c8c53aa1821a199a76350fd7cbe3449c1193d (diff) | |
rails new .
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 |
