discourse/config/initializers/strong_parameters.rb

2 lines
78 B
Ruby
Raw Normal View History

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