rails init and database config