discourse/config/initializers/100-strong_parameters.rb

2 lines
85 B
Ruby
Raw Normal View History

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