diff options
author | José Valim <jose.valim@gmail.com> | 2011-07-11 06:51:24 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-07-11 06:51:24 -0700 |
commit | d5e87226833440ab75038fa430f5b4b7eaf302f1 (patch) | |
tree | 9d76d9d8e846a7acacfa1ce0159c3723ba2e4e74 /railties | |
parent | 539d684b7a063555bd2d03a36b2e778217d94ae9 (diff) | |
parent | 75cfd037cbec11ef3f47d8b750ae1a67412b7580 (diff) | |
download | rails-d5e87226833440ab75038fa430f5b4b7eaf302f1.tar.gz rails-d5e87226833440ab75038fa430f5b4b7eaf302f1.tar.bz2 rails-d5e87226833440ab75038fa430f5b4b7eaf302f1.zip |
Merge pull request #2029 from sikachu/acronym_mention
Mention about acronym inflection in config/initializers/inflections.rb
Diffstat (limited to 'railties')
-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 |