inflections.rb 376 B

12345678910
  1. # Be sure to restart your server when you modify this file.
  2. # Add new inflection rules using the following format
  3. # (all these examples are active by default):
  4. # ActiveSupport::Inflector.inflections do |inflect|
  5. # inflect.plural /^(ox)$/i, '\1en'
  6. # inflect.singular /^(ox)en/i, '\1'
  7. # inflect.irregular 'person', 'people'
  8. # inflect.uncountable %w( fish sheep )
  9. # end