Catching a list of variables with a Controller
Boris Terzic
aggregat4+camping at gmail.com
Mon Nov 20 18:04:02 EST 2006
First off thanks for all the great responses!
And now some individual comments.
@Manfred: Roland's solution does seems to allow this approach, and while it
is not entirely "clean" it's no worse than my comma-separated-directory
approach. As for these sorts of queries not representing resources and
perhaps belonging into a query string? I don't know, I get your point but
then again "expenses/filter/tag1/tag2/tag3" does represent the resource that
is the collection of all expenses that have those tags. Maybe. This is where
you need to get Sam Ruby involved for a restful knock on the head.
@Roland: cool, I will adopt it as long as I don't get head-bashed by Sam.
@Jonas: thanks for the welcome, and yet another approach! Interesting
feature with the array parameter.
Camping rocks. (yes, I am a fanboy)
Cheers,
Boris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/camping-list/attachments/20061121/7bcf8452/attachment.html
More information about the Camping-list
mailing list