Thursday, December 29, 2011

Re: Cake 1.3.11: Wrong singular of 'encounter_foes'

if you feel like this is a bug in cake, you can open a ticket for it:
http://cakephp.lighthouseapp.com/projects/42648/tickets/

On 29 Dez., 08:57, Jeremy Burns | Class Outfit
<jeremybu...@classoutfit.com> wrote:
> http://book.cakephp.org/view/953/Inflections
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 28 Dec 2011, at 13:06, Zaphod wrote:
>
>
>
>
>
>
>
> > Hi there,
>
> > I think there's a bug in 1.3.11 which converts a link of '/
> > encounter_foes' to the singular form 'encounter_fo' to get to the
> > model.
> > I did some research and found that line 123 of inflector.php is
> > responsible:
> > '/(o)es$/i' => '\1',
>
> > I commented it out and it worked now, but I'm not sure what for this
> > line was? Truely english is not my mother tongue.
>
> > Have a nice day
> > - Zaphod -
>
> > --
> > Our newest site for the community: CakePHP Video Tutorialshttp://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: