discourse/config/initializers/100-strong_parameters.rb
2019-05-07 09:33:21 +08:00

2 lines
85 B
Ruby

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