Mercurial > hg > soundsoftware-site
view config/initializers/inflections.rb @ 1445:0c7b3bb73517 live
Fix underscores in idents (and make regex the same in both places it's used)
| author | Chris Cannam |
|---|---|
| date | Tue, 22 Oct 2013 10:56:02 +0100 |
| parents | 513646585e45 |
| children |
line wrap: on
line source
# Be sure to restart your server when you modify this file. # Add new inflection rules using the following format # (all these examples are active by default): # ActiveSupport::Inflector.inflections do |inflect| # inflect.plural /^(ox)$/i, '\1en' # inflect.singular /^(ox)en/i, '\1' # inflect.irregular 'person', 'people' # inflect.uncountable %w( fish sheep ) # end
