Files
discourse/config/initializers/100-strong_parameters.rb
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
116 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2019-05-07 09:27:05 +08:00
ActiveRecord::Base.public_send(:include, ActiveModel::ForbiddenAttributesProtection)