Ruby on Rails Controller
The Rails controller is the logical center of your application. It coordinates the interaction between the user, the views, and the model. The controller is also a home to a number of important ancillary services.
The process for creating a controller is very easy, and it's similar to the process we've already used for creating a model. We will create just one controller here â??
library\> rails generate controller Book