Re: Re: Rails'' inflections are messy

davidcelis
Fri, 20 Jul 2012 17:25:20 -0000

Yep, the point I''ve been getting at. People shouldn''t blindly
upgrade their
Rails versions anyway, and when they see errors that a Controller can''t
be
found based on their Model name or vice versa, it should be pretty obvious
as to what''s going on unless they''re clueless about the
inflector.

On Thursday, July 19, 2012 1:01:29 PM UTC-7, pavling
wrote:
>
> On 19 July 2012 20:48, Colin Law
<clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:
> > On 19 July 2012 20:07, Linus Pettersson
<linus.pettersson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> wrote:
> >> At least they should fix the ones that are incorrect...
> >>
> >> "Octopus".pluralize should return "Octopuses"
and NOT "Octopi"... :)
> >
> > But then all those applications that rely on the current pluralisation
> > of octopus would break when upgraded.  Innumerable applications around
> > the internet would come to their knees.
>
> :-)
>
> Surely all those sites'' developers could just override the
inflector
> back to what it used to be, and get on with all the other tasks they
> need to complete to upgrade to Rails4?
>

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit