How to Fix PG::ConnectionBad: Connection Refused in Rails with PostgreSQL | CodeTrail