So the instructions on say to use Post.all to retrieve all the comments in the database but I don't know what the command is supposed to be for the terminal. Anybody know how to do this?
To retrieve a list of all comments using the terminal, and assuming that
Post.all retrieves them through a Ruby file, you would do this:
$ rails console > Post.all => [list of all the comments]