Re: Re: Rails'' inflections are messy

Paul
Thu, 02 Aug 2012 15:30:33 -0000

index: GET /media
show: GET /media/1
edit: GET /media/1/edit
create: POST /media
update: PUT /media/1
new: GET /media/new
delete: DELETE /media

I wasn''t suggesting changing this retroactively, I was supporting the
idea of the inflections gem, which would allow an replacement that
didn''t require  duplicating all the rules in javascript.

On Sun, Jul 29, 2012 at 12:32 PM, Matt Jones
<al2o3cr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
>
> For bonus points, how would the new behavior distinguish between the
''show''
> and ''index'' actions? (currently plural-with-no-args vs.
> singular-with-one-arg)
>
> I suspect you''re going to face a lot of pushback from all the
developers who
> *have* managed to "keep it straight", since your suggestion
involves
> breaking every one of their applications.
>
> --Matt Jones