discourse/config/initializers/strong_parameters.rb

2 lines
78 B
Ruby

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