6.4 Generating a Controller

With the model in hand, you can turn your attention to creating a
matching controller. Again, we'll use the same generator we used before:

$ rails generate controller Comments