rails12factor and db