title: Connect Rails app to PGAdmin 4
body: <p>I am using a CodeAnywhere.com (Firehose) development stack and I am attempting to connect the Postgres SQL database to PGAdmin just so I can have some kind of graphical representation.</p>
  
  <p>The issue is I have no idea how to find the host / server name or databasename.</p>
  
  <p>I saw another question <a href="https://stackoverflow.com/questions/399396/can-you-get-db-username-pw-database-name-in-rails">here</a> and saw that I can run this command <code>Rails.configuration.database_configuration[Rails.env]</code> however I am not sure where exactly to run that from the SSH terminal. IRB? Because I get an error running through IRB.</p>
  
  <p>Please let me know if any other information is needed.</p>