Hello, How to choose values based on the selected above?

There is a form in it to be a field for entering regions()
On the basis of them should show the cities of these regions in the field below()

I think it ajax

But I’m not experienced this

Can you recommend what to read for it or (halpers rails for this task)

P.S Thanks for wathing

you need to do that in javascript, I don’t think any part of Rails does that for you.

check out http://www.sanwebe.com/2013/05/select-box-change-dependent-options-dynamically

for a good explanation

there may be a rails gem or plugin that can help you, but I do not know of what specifically for that purpose.