This questions turns up about every months - Ruby vs. Python.
Well, my advice is that you should use which you like better. Ruby on Rails had some critical security problems but that can happen any time for new Django releases as well (let's be honest). The community is great behind both language so you can find plenty of information on the Internet regarding them. I think there are also many jobs on both as well but well, this varies from country to country - in Hungary there are not so many Rails jobs - but there are not so many Django/Flask places as well.
Note: Scala is my love-language, why should you switch? Did you try the Play framework?