title: Unable to connect to postgresql database after upgrading to Yosemite 10.10
body: <p>After updating to Yosemite 10.10 I cannot connect to my postgresql database. I run the rails console and try and get the first user but get this error...</p>
  
  <pre><code>&gt;     ➜  game_golf git:(master) ✗ rails c
  &gt;     Loading development environment (Rails 4.1.4)
  &gt;     [1] pry(main)&gt; User.first
  &gt;     PG::ConnectionBad: could not connect to server: Connection refused
  &gt;       Is the server running on host "localhost" (::1) and accepting
  &gt;       TCP/IP connections on port 5432?
  &gt;     could not connect to server: Connection refused
  &gt;       Is the server running on host "localhost" (127.0.0.1) and accepting
  &gt;       TCP/IP connections on port 5432?
  &gt;     from /Users/pauldornfeld/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activerecord-4.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:888:in `initialize'
  &gt;     [2] pry(main)&gt;
  </code></pre>
  
  <p>What do I do! I have tried to reinstall postgresql, reinstall homebrew. Please help!</p>