update rails to 4.0.8, update database yml