active record funcionando