Re: Re: Rails'' inflections are messy

davidcelis
Thu, 19 Jul 2012 19:57:19 -0000

So many applications!

But in seriousness, this IS a terrible argument, is it not? I''m not
crazy,
am I? There are CHANGELOGs and upgrade guides for a reason.

On Thursday, July 19, 2012 12:48:23 PM UTC-7, Colin Law
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.
>
> Colin
>
> >
> >
> >
> > Den torsdagen den 19:e juli 2012 kl. 20:23:15 UTC+2 skrev davidcelis:
> >>
> >>
> >>
> >> On Thursday, July 19, 2012 11:22:40 AM UTC-7, davidcelis wrote:
> >>>
> >>> For anybody who shares my sentiment, until Rails core decides
it''s
> time
> >>> to clean up their inflections, I''ve published a gem
to provide more
> sane
> >>> default pluralization/singularization rules:
> >>> https://github.com/davidcelis/inflections
> >>>
> >>> Here''s the difference:
> >>>
> >>> 4 pluralization rules (down from 21)
> >>> 5 singularization rules (down from 27)
> >>> 3 irregularities (down from 7)
> >>> 1 uncountable (down from 10)
> >>>
> >>> Ahhh. Much better.
> >>>
> > --
> > 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
> > https://groups.google.com/d/msg/rubyonrails-talk/-/rNreNAZ8nB4J.
> >
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
>

--
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