logo       

Re: Catching a list of variables with a Controller: msg#00028

lang.ruby.camping.general

Subject: Re: Catching a list of variables with a Controller

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

_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw@xxxxxxxxxxxxxxxx
http://rubyforge.org/mailman/listinfo/camping-list
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise