rails 4 app with postgresql