ignore .idea
rails g migration AddStatusToBooks status:integer
rake db:migrate
add enum
rails g controller books
add routing
add show action
add action callback
add routing

resources :publishers

        Prefix Verb   URI Pattern                    Controller#Action
               GET    /books/:id(.:format)           books#show
    publishers GET    /publishers(.:format)          publishers#index
               POST   /publishers(.:format)          publishers#create
 new_publisher GET    /publishers/new(.:format)      publishers#new
edit_publisher GET    /publishers/:id/edit(.:format) publishers#edit
     publisher GET    /publishers/:id(.:format)      publishers#show
               PATCH  /publishers/:id(.:format)      publishers#update
               PUT    /publishers/:id(.:format)      publishers#update
               DELETE /publishers/:id(.:format)      publishers#destroy