2021-05-02から1日間の記事一覧
Pundit は認可まわりの機能を作成するのに有効なGemです。 Punditセットアップ #Gemfile gem 'pundit' #ターミナル bundle install --path vendor/bundle application_controllerにinclude #app/controllers/application_controller.rb class ApplicationCon…
Pundit は認可まわりの機能を作成するのに有効なGemです。 Punditセットアップ #Gemfile gem 'pundit' #ターミナル bundle install --path vendor/bundle application_controllerにinclude #app/controllers/application_controller.rb class ApplicationCon…