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

javascript - Create websocket without connecting -

how to do line continuation in perl debugger for entering raw multi-line text (EOT)? -

android - Linear layout children not scrolling -