
[Patch] Fix for Inflector singularizing 'postgres' to 'postgre'
Reported by Ben Burkert | May 9th, 2008 @ 11:01 AM
The inflector for dm-core was singularizing 'postgres' to 'postgre' when being used outside a merb app.
I'm not sure why this is happening, but the patch seems to fix it. Instead of calling the singular/plural method of the string, English::Inflector's singular/plural method is called instead with the string as an argument.
Comments and changes to this ticket
-
Adam French May 9th, 2008 @ 11:03 AM
- Assigned user set to Adam French
-
Sam Smoot May 9th, 2008 @ 11:06 AM
Sounds like the String version of the method was overwritten with another lib then. This is why we use the class-methods exclusively in DM.
Just FYI. :)
-
Sam Smoot May 9th, 2008 @ 11:09 AM
- State changed from new to resolved
Applied, pushed, resolved.
BTW Ben, appreciate the ticket for documentation purposes, but I don't have a problem with you pushing bug-fixes like this whenever you want. :-)
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.