|
Re: Catching a list of variables with a Controller: msg#00019lang.ruby.camping.general
Hi Boris, welcome to Ruby and Camping :) Camping doesn't support nested regexp groups like ((\w+)\/) so you'll have to do it differently. Your second approach is right. You can also use the multiple arguments input if you don't want to split the string with the commas. Like ?tag=one&tag=two&tag=three. That will give you a ['one', 'two', 'three'] array in input.tag. -- Cheers, zimbatm http://zimbatm.oree.ch
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Catching a list of variables with a Controller, Roland Crosby |
|---|---|
| Next by Date: | Re: Re: [UHH] any blogs sprung from camping?, Jonas Pfenniger |
| Previous by Thread: | Re: Catching a list of variables with a Controller, Roland Crosby |
| Next by Thread: | Re: Catching a list of variables with a Controller, Boris Terzic |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |