Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #8263 (closed defect: wontfix)

Opened 3 years ago

Last modified 3 years ago

[PATCH] Singularizing aves

Reported by: jcinnamond Assigned to: core
Priority: normal Milestone: 1.x
Component: ActiveSupport Version: edge
Severity: normal Keywords:
Cc:

Description

Words ending in aves should singularize to ave. For example, "slaves" should become "slave".

When adding the regex I noticed that there was an incorrect test for the plural of "safe". The plural should be "safes" and not "saves". I think this is the case for any word ending in "afe" (e.g., "chafe") so I fix that too and changed the existing test.

Attachments

singularize_aves.diff (1.5 kB) - added by jcinnamond on 05/03/07 17:15:22.
Fix to singularize 'aves' properly.

Change History

05/03/07 17:15:22 changed by jcinnamond

  • attachment singularize_aves.diff added.

Fix to singularize 'aves' properly.

05/03/07 21:18:36 changed by bradediger

  • status changed from new to closed.
  • resolution set to wontfix.

The set of inflections is closed. See #7199.

You can always add custom inflections to environment.rb.