Controlador de convenciones de nombres de rieles
Controller class names use CamelCase and have Controller as a suffix.
The Controller suffix is always singular.
The name of the resource is usually plural.
Controller actions use snake_case and usually match the standard route names Rails defines (index, show, new, create, edit, update, delete).
Controller files go in app/controllers/#{resource_name}_controller.rb.
SaltedCode