Ruby on Rails Thursday, August 2, 2012

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@gmail.com> 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

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment