ruby on rails - Heroku Command Line Interface and Interacting with a Postgres -


i trying delete instance post model on heroku database. command line, should 'heroku run post.first.delete' work? i've been trying , doesn't seem work , can't find how this. appreciated.

heroku run x won't directly put rails console.

as per this article you'll want:

heroku run rails console 

from there can delete records.


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -