Upgrade to Rails 4.0.x
Update database settings