I imported the same csv file multiple times
I get an error on the terminal after running rails db: reset
PG :: ObjectInUse: ERROR: database" app name_development "is being accessed by other users DETAIL: There is 1 other session using the database.
It's easy if you read the error sentence and understand the meaning.
DETAIL: There is 1 other session using the database.
In summary
There are currently users who have used the database
It means that · · ·
That's why Turn off the server once!
control + c
And do it again.
rails db:reset
Dropped database 'app name_development'
Dropped database 'app name_test'
Created database 'app name_development'
Created database 'app name_test'
You're done!
Besides searching for and examining error statements
One of the solutions is to look up the English text once with google translate.