discourse/config/initializers/100-strong_parameters.rb

2 lines
85 B
Ruby

ActiveRecord::Base.public_send(:include, ActiveModel::ForbiddenAttributesProtection)