Adding cap and moving around database.yml