I've moved my development environment from sqlite
to postgresql
on Cloud9 IDE, following this post Cloud9 postgres.
Now just about everything works,
- created a new db
- migrated table changes
- saved data to db with rake tasks
- rendered data from the db in views
But when I run rails c
and try and load data there, it fails.
Item
=> Item (call 'Item.connection' to establish a connection)
Item.all
=> PG::ConnectionBad: fe_sendauth: no password supplied
I don't think its actually a no password
issue because in every other way I can access and work with the database... just not in rails console.
Does maybe something need to be done to setup a new connection here?