rails generate controller ryan_pin
routes.rbに
  resources : ryan_pin
を追記