discourse/config/initializers/100-strong_parameters.rb
2015-12-09 11:48:41 +11:00

2 lines
78 B
Ruby

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