Mercurial > rsstweet
comparison config/initializers/inflections.rb @ 0:a1c9fadc0904
Initial.
Generated with:
rails new rsstweet -J -S -O -G --skip-keeps
| author | edogawaconan <me@myconan.net> |
|---|---|
| date | Fri, 05 Sep 2014 18:24:19 +0900 |
| parents | |
| children | ad6264cca788 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:a1c9fadc0904 |
|---|---|
| 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 |
