This project is archived and is in readonly mode.
[PATCH] Inflection of "databases"
Reported by Jiří Zajpt | February 11th, 2009 @ 04:36 PM | in 2.x
When using Rails singularize method on word 'databases' it returns 'databasis' instead of 'database'. This can lead to whole sort of problems, for example when using word databases in controller name, etc. Example:
>> 'databases'.singularize
=> "databasis"
Patch adds inflection from 'databases' to 'database'.
Comments and changes to this ticket
-
Repository February 12th, 2009 @ 01:32 PM
- State changed from new to committed
(from [7ed2e6c463071081d9be55b794477adafb1457d3]) Adding inflection of databases (usually we wouldn't amend the current defaults, but this seems to obvious) [#1942 state:committed]
Signed-off-by: David Heinemeier Hansson david@loudthinking.com http://github.com/rails/rails/co...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 1942 [PATCH] Inflection of "databases" (from [7ed2e6c463071081d9be55b794477adafb1457d3]) Adding ...
- 1800 Resources Routing ending in 'base' We should handle "database" in particular correctly since...