recursos de rieles
resources :controller_name # => new create edit update index show destroy
resources :controller_name, only: [:index, :new, :create, :edit, :update]
# <=>
resources :controller_name, except: [:destroy, :show]
Lioruby