index.html to rails views/layouts, tests bbdd