Redo of Python app on rails