diff options
author | Prem Sichanugrist <s@sikachu.com> | 2011-07-10 22:21:44 -0400 |
---|---|---|
committer | Prem Sichanugrist <s@sikachu.com> | 2011-07-11 09:45:33 -0400 |
commit | 75cfd037cbec11ef3f47d8b750ae1a67412b7580 (patch) | |
tree | dcbac8058d194c210e8e698ce593b774f182eda3 /railties/lib/rails | |
parent | c3732bfed01de49947dd0aedd8cc976128b7f5db (diff) | |
download | rails-75cfd037cbec11ef3f47d8b750ae1a67412b7580.tar.gz rails-75cfd037cbec11ef3f47d8b750ae1a67412b7580.tar.bz2 rails-75cfd037cbec11ef3f47d8b750ae1a67412b7580.zip |
Mention about acronym inflection in config/initializers/inflections.rb
Closes #1366
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb b/railties/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb index 9e8b0131f8..5d8d9be237 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb +++ b/railties/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb @@ -8,3 +8,8 @@ # inflect.irregular 'person', 'people' # inflect.uncountable %w( fish sheep ) # end +# +# These inflection rules are supported but not enabled by default: +# ActiveSupport::Inflector.inflections do |inflect| +# inflect.acronym 'RESTful' +# end |