Answer the question
In order to leave comments, you need to log in
How to handle %2C character (that's ,) from url in Ruby on Rails?
There is, for example, a parameter: "?query=333%2C999". The letters %2C are the comma character (",").
And in the controller I do this params[:query].split(',')
- it does not give out what is needed.
How can the problem be solved?
Answer the question
In order to leave comments, you need to log in
Dude, learn to google in English, otherwise you will fill up the whole toaster with the simplest questions that are googled once or twice. I'll help you: rails how to decode url symbols
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question