2020-06-28から1日間の記事一覧
目次 手順 操作 使用したもの ・手順 1.books_controller.rb 2.edit.html.erb in books_contlloer def update book = Book.find(params[:id]) if book.update.(book_params) ~ここから~ flash[:notiece] = "サクセスメッセージ" 〜ここまで〜 redirect_to bo…
目次 手順 操作 使用したもの ・手順 1.books_controller.rb 2.edit.html.erb in books_contlloer def update book = Book.find(params[:id]) if book.update.(book_params) ~ここから~ flash[:notiece] = "サクセスメッセージ" 〜ここまで〜 redirect_to bo…