Daniel Sousa

Joined

10 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Setup Ubuntu 17.10 Artful Aardvark Discussion

An improvement regarding PostgreSQL setup could be allowing all local connections without password.

The way to do it is edit the configuration file:

sudo gedit /etc/postgresql/POSTGRE_VERSION/main/pg_hba.conf

And change all methods to trust. Restart postgres service.

This way no password must be provided in the database.yml.
logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.