nova versao usando ruby on rails