Stackable URLs


#1

Here’s my problem…

Suppose you have a page that lists some data. You also have some URLs
that can be used to filter that data.

Lets say you have a few links that filter by type. When you click on
them you get URLs like this one:
http://localhost/controller/action?type=SOMETYPE

Then you click on a link that filters by date. When you click on this
url you would normally get something like this:
http://localhost/controller/action?date=SOMEDATE

But since I previously clicked on another URL I want to get something
like this:
http://localhost/controller/action?type=SOMETYPE&?date=SOMEDATE

Then if I click on a different URL that sorts by type I want to get
something like this:
http://localhost/controller/action?type=SOMEOTHERTYPE&?date=SOMEDATE

Well, I think you get the idea.

Something like this can be seen at Yahoo Finance:
http://finance.yahoo.com/q/ta?s=ERTS

How would I be able to achieve something like this in Rails. The easier
the better :wink:

Many thanks in advance,

Alex