Sha256: ae3ce457b340038726186d1ef63b707287ca57909b040ad4c3b902dd2fa60fd4
Contents?: true
Size: 456 Bytes
Versions: 16
Compression:
Stored size: 456 Bytes
Contents
module ProtectedAttributes class Railtie < ::Rails::Railtie initializer "protected_attributes.active_record", :before => "active_record.set_configs" do |app| if app.config.respond_to?(:active_record) && app.config.active_record.delete(:whitelist_attributes) ActiveSupport::Deprecation.warn "config.active_record.whitelist_attributes is deprecated and have no effect. Remove its call from the configuration." end end end end
Version data entries
16 entries across 16 versions & 2 rubygems