i’m confused over whether the controller should be singular or plural, in the rails generate command.
I heard that the controller should be plural and the model singular.
Then when I was trying to find out about whether the controller should be uppercase or lowercase, I ran into this https://github.com/rails/rails/issues/24530 And the confusing thing about that is that replies say rails generate controller Comment index and rails generate controller comment index i.e. even putting aside the question of whether the controller name there should be uppercase or lowercase, it has it singular.
Yet i’d heard the controller should be plural… so i’m puzzled. Should the controller as mentioned in rails generate controller __________ be singular or plural?