discourse/config/initializers/100-strong_parameters.rb

2 lines
85 B
Ruby
Raw Normal View History

2019-05-06 21:27:05 -04:00
ActiveRecord::Base.public_send(:include, ActiveModel::ForbiddenAttributesProtection)