discourse/config/initializers/100-strong_parameters.rb

4 lines
116 B
Ruby

# frozen_string_literal: true
ActiveRecord::Base.public_send(:include, ActiveModel::ForbiddenAttributesProtection)