Stories Project step 37 and 39


#1

heroku rake db:migrate and heroku run rails console commands wont run from codecademy command line interface.
Giving an ETIMEDOUT error message.
Could possibly be a blocked port 5000 issue from codecademy to heroku.
Use run:detached instead.

http://www.orhancanceylan.com/heroku-run-command-operation-timed-out/


#2

Thanks for hint, it worked!

To display the record from the database I just chained the command to rails console:
run:detached "echo 'Signup.all' | rails console"