【Ruby on Rails】filter_parameters.rbにログで見られたくないパラメーターを追加する

config/initializers/filter_parameters.rb
Rails.application.config.filter_parameters += [:password, :credit_card_number]
Created by Yuto at 2022-01-21 17:42
0
Like this article