params[:some_data] ||= [] #what does that mean?

While on that question...

Is there any reason I can set up config/routes.rb to had all of the URL except for the domain, no matter how many slashes or named parameters, to one 'FigureOutTheUrl' controller?

In that case, how do I deal with a variable number of slashes in the URL?

One step beyond' tressle'.

A wiki with the syntax can be

      /web/topic

No "controller", no "action". Defaults to "show" I would think that is what most users might expect.

Only when you need to edit

  /web/topic?edit

Some wiki have a topic that is the index page, like TWiki, so   /web/index is a case of         /web/topic and not   /web action => 'index' Which means you can write different styles of index pages - not need to hack the code. isn't that what a wiki is about?

mixplate said the following on 02/05/2007 08:01 PM:

While on that question...

Is there any reason I can set up config/routes.rb to had all of the URL except for the domain, no matter how many slashes or named parameters, to one 'FigureOutTheUrl' controller?

In that case, how do I deal with a variable number of slashes in the URL?

Yes, just make sure it is *the* last url in routes.rb