Re: Cake 1.3.11: Wrong singular of 'encounter_foes'

2011-12-30 Thread Zaphod
I just opened a ticket for this, thanks.

On 29 Dez., 11:37, euromark  wrote:
> 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
>
>
>
>
>
>
>
>  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.organdhelp 
> > > others with their CakePHP related questions.
>
> > > To unsubscribe from this group, send email to
> > > cake-php+unsubscr...@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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Cake 1.3.11: Wrong singular of 'encounter_foes'

2011-12-28 Thread Zaphod
Yes, of course. Because its still a foe ;-)

On 28 Dez., 20:03, euromark  wrote:
> your expectation would be "encounter_foe", right?
>
> On 28 Dez., 14: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 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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Cake 1.3.11: Wrong singular of 'encounter_foes'

2011-12-28 Thread Zaphod
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 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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php