Class: Permittable::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/permittable/railtie.rb

Overview

Boot-time integration, loaded only when Rails is present (see the conditional require at the bottom of lib/permittable.rb): appends the live-registry filter proc before ActiveRecord copies config.filter_parameters into filter_attributes (a += snapshot), so sensitive: true params are redacted from both request logs and #inspect.