Em 26-12-2012 17:24, Xavier Noria escreveu:
Maybe "default" is not the best word. It is idiomatic, customary,
strongly recommended, etc. (and you do not need to qualify it in a
section title anyway).

Why is it strongly recommended?

/:controller/:action/:id is definitely not going into the getting
started guide so to speak.

I agree. I don't use this route either and I also don't think it is a good default, like it used to be in Rails 1 and still is in other Rails-like frameworks.


On Wed, Dec 26, 2012 at 8:10 PM, Rodrigo Rosenfeld Rosas
<[email protected]>  wrote:
Em 26-12-2012 17:03, Xavier Noria escreveu:

On Wed, Dec 26, 2012 at 7:58 PM, Rodrigo Rosenfeld Rosas
<[email protected]>  wrote:

I'll try to take a look at the rest of the guide tomorrow night (I have a
party tonight and I'm working right now). If the rest of the guide doesn't
require REST understanding then I'll prepare a patch and send as a pull
request (instead of pushing to railsdocs as I'm not sure if it will be
accepted and don't want to mess around). Otherwise I'll let you know to
understand what is your opinion on what we should do to the rest of the
examples in that guide...

I believe we can take HTTP for granted. So, "the HTTP DELETE verb
gets routed to blah" and similar sentences can be used. If the reader
does not know what is the HTTP DELETE verb he can google it, and there
can be a further reading section... But you need to assume something
to base the wording on.


You could just point to the Routing guide which covers the subject more
in-depth:

http://guides.rubyonrails.org/routing.html

I just find it weird that the section is called "2 Resource Routing: the
Rails Default"

Why "the Rails Default"? It is only used in the scaffold generator, right?
The "controller" generator doesn't use resourceful routes, right?


--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to