Thanks to both for the clarification, I was already guessing that to_query was the correct choice for my scenario, but now I'm much more confidant!
cheers Miguel Regedor On Mar 12, 6:27 pm, "ruby...@ymail.com" <ruby...@ymail.com> wrote: > On 12 Mar., 19:25, "ruby...@ymail.com" <ruby...@ymail.com> wrote: > > > On 12 Mar., 18:19, Miguel Regedor <miguelrege...@gmail.com> wrote: > > #to_param is used after the question mark in a URI, #to_query after. > > Hope it makes things clear. :) > > No, I meant: "#to_param is used BEFORE the question mark in a URI, > #to_query after." Like this: hello/great/world?words%5B%5D=hello&words > %5B%5D=great&words%5B%5D=world > > -- > Cheers, > David Knorrhttp://twitter.com/rubyguy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---