I have a rails application running over Postgres.
I have two servers: one for testing and the other for production.
Very often I need to clone the production
Please check if your rails console or server is running in another tab and then
stop the rails server and console.
then run
rake db:drop