2020-11-08から1日間の記事一覧
newアクションの実装に続き createアクションの実装手順を記載①ルーティングの設定 Rails.application.routes.draw do root to: 'tweets#index' resources :tweets, only: [:index, :new, :create] end ②コントローラーの設定(ストロングパラメータを使用)…
newアクションの実装に続き createアクションの実装手順を記載①ルーティングの設定 Rails.application.routes.draw do root to: 'tweets#index' resources :tweets, only: [:index, :new, :create] end ②コントローラーの設定(ストロングパラメータを使用)…