I understand that the default Rails routing matches URLs with the
Default values exist for each of the parts to the right of the
controller. I also understand that the default format is html. So,
for example, the URL:
would route a request to the 'read' action of the 'blog' controller,
set the :id param to '23', and and render the html view 'read.rhtml'
Now, if the URL were altered to:
Apparently something different happens; but, I'm not at all clear on
exactly what. Does this mean that I should setup a read.csv view to
render the document in csv, or what?
I don't seem to have enough basic knowledge to get started
understanding this. I would really appreciate it if someone could
help me get started off in the right direction. Thanks for any input.