Assuming you've already setup and named your remotes for staging and producdtion
staging
producdtion
heroku run rails c --remote staging heroku run rails c --remote production
Last updated 5 years ago