discourse/config/initializers/100-strong_parameters.rb

2 lines
78 B
Ruby
Raw Normal View History

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