I’ve reinstalled PostgreSQL and now it works.
Related Posts:
- Can’t find the ‘libpq-fe.h header when trying to install pg gem
- PG::ConnectionBad: fe_sendauth: no password supplied
- 400 Bad Request – request header or cookie too large
- Why Puma listen on ‘tcp://localhost:3000’ instead of ‘http://localhost:3000’
- Explain what " means
- Why does Ruby on Rails use http://0.0.0.0:3000 instead of http://localhost:3000?
- ActionController::InvalidAuthenticityToken
- bundle install returns “Could not locate Gemfile”
- ActionController::InvalidAuthenticityToken
- Rails: Why “sudo” command is not recognized?
- Rails: Can’t verify CSRF token authenticity when making a POST request
- Getting error: Peer authentication failed for user “postgres”, when trying to get pgsql working with rails
- undefined method `each’ for nil:NilClass… why?
- Bundler: You must use Bundler 2 or greater with this lockfile
- undefined method `each’ for nil:NilClass… why?
- Using Pundit for all-access “super_admin” role
- How to tell if homebrew is installed on Mac OS X
- What is the difference between Rails.cache.clear and rake tmp:cache:clear?
- Unable to install gem – Failed to build gem native extension – cannot load such file — mkmf (LoadError)
- Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
- Cannot load such file — bcrypt_ext
- How do I remove Permission denied @ rb_sysopen – Gem install error?
- warning: constant ::Fixnum is deprecated When generating new model
- curl : (1) Protocol https not supported or disabled in libcurl
- couldn’t find file ‘jquery’ with type ‘application/javascript’
- Passing parameters in rails redirect_to
- Getting: “Migrations are pending; run ‘bin/rake db:migrate RAILS_ENV=development’ to resolve this issue.” after cloning and migrating the project
- How to find out which rails version an existing rails application is built on?
- RubyMine Unit tests – Test Framework quit unexpectedly
- bcrypt LoadError: Cannot load such file
- Uninitialized constant “Controller Name”
- How do I format datetime in rails?
- heroku open – no app specified
- Difference between rake db:migrate db:reset and db:schema:load
- TypeError: no implicit conversion of Symbol into Integer
- Sass::SyntaxError: File to import not found or unreadable: bootstrap-sprockets
- GROUP BY and COUNT using ActiveRecord
- How to stop (and restart) the Rails Server?
- Migrations are pending; run ‘bin/rake db:migrate RAILS_ENV=development’ to resolve this issue
- Advanced AREL or just Rails Query for has_many through search by association
- What is this JavaScript “require”?
- PostgreSQL “DESCRIBE TABLE”
- Psql could not connect to server: No such file or directory, 5432 error?
- AngularJS- Login and Authentication in each route and controller
- How to UPSERT (MERGE, INSERT … ON DUPLICATE UPDATE) in PostgreSQL?
- Rails 5 ActionController::InvalidAuthenticityToken error
- How to restart Postgresql
- What is the format for the PostgreSQL connection string / URL?
- “use database_name” command in PostgreSQL
- Postgresql 9.2 pg_dump version mismatch
- PSQLException: current transaction is aborted, commands ignored until end of transaction block
- psql: FATAL: Ident authentication failed for user “postgres”
- How can I drop all the tables in a PostgreSQL database?
- How to restart PostgreSQL in Ubuntu 18.04
- FATAL: password authentication failed for user “postgres” (postgresql 11 with pgAdmin 4)
- Simple Random Samples from a Sql database
- Insert text with single quotes in PostgreSQL
- ERROR: there is no unique constraint matching given keys for referenced table “bar”
- Cannot simply use PostgreSQL table name (“relation does not exist”)
- postgresql duplicate key violates unique constraint
- “psql: could not connect to server: Connection refused” Error when connecting to remote database
- Simulate CREATE DATABASE IF NOT EXISTS for PostgreSQL?
- How to change PostgreSQL user password?
- Postgresql tables exists, but getting “relation does not exist” when querying
- No function matches the given name and argument types
- PostgreSQL error: Fatal: role “username” does not exist
- Rails 4 RoutingError: No Route Matches
- psql: command not found Mac
- pg_ctl: no database directory specified and environment variable PGDATA unset
- psql: FATAL: role “postgres” does not exist
- Postgres Error: More than one row returned by a subquery used as an expression
- PostgreSQL: Query has no destination for result data
- How to exit from PostgreSQL command line utility: psql
- Rails syntax error : unexpected keyword_ensure, expecting end-of-input
- What is the difference between LATERAL JOIN and a subquery in PostgreSQL?
- psql: FATAL: database “
” does not exist - Devise lockable – How to unlock account using unlock_in
- Ruby String to Date Conversion
- “Error installing rails” because “extconf.rb failed” on Ubuntu 18.04
- updating table rows in postgres using subquery
- postgres does not know where to find server configuration
- input file appears to be a text format dump. Please use psql
- PG COPY error: invalid input syntax for integer
- Uncaught ReferenceError: React is not defined
- Rails button_to vs. HTML Button Tag
- Purge or recreate a Ruby on Rails database
- Postgres: INSERT if does not exist already
- Postgresql column reference “id” is ambiguous
- Generate model in Rails using user_id:integer vs user:references
- An error occurred while installing json (1.8.1), and Bundler cannot continue – Rails
- Nginx error: client intended to send too large body
- What is the difference between “rake db:seed” and rake db:fixtures:load”
- How do I parse JSON with Ruby on Rails? [duplicate]
- What is a postgres superuser
- How to force or redirect to SSL in nginx?
- Is there an equivalent of MySQL’s SHOW CREATE TABLE in Postgres?
- Postgres equivalent to MySQL’s \G?
- Postgresql: what does GRANT ALL PRIVILEGES ON DATABASE do?
- Postgres equivalent to MySQL’s \G?
- pg_dump and pg_restore: input file does not appear to be a valid archive