I opened the rails console and called the DatabaseTable, But it failed. I followed
psql: could not connect to server: No such file or directory (Mac OS X)
I tried to open postgres and I got the error.
$ psql
psql: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
and I called the log to observe what happened.
$ tail -f /usr/local/var/postgres/server.log
FATAL:  database "ror_development" does not exist
ERROR:  database "ror_development" already exists
STATEMENT:  CREATE DATABASE "ror_development" ENCODING = 'utf8'
ERROR:  database "ror_test" already exists
STATEMENT:  CREATE DATABASE "ror_test" ENCODING = 'utf8'
FATAL:  database "harem_backend_development" does not exist
LOG:  received smart shutdown request
LOG:  autovacuum launcher shutting down
LOG:  shutting down
LOG:  database system is shut down
I can't understand what happened to my sql, and how to fix it
 
     
    