Skip to Content Skip to Search
v7.1.0
class ActiveRecord::Encryption::AutoFilteredParameters < Object
Methods
E
N

Public class methods

new(app)

Permalink
Source code GitHub
# File activerecord/lib/active_record/encryption/auto_filtered_parameters.rb, line 6
def initialize(app)
  @app = app
  @attributes_by_class = Concurrent::Map.new
  @collecting = true

  install_collecting_hook
end

Public instance methods

enable()

Permalink
Source code GitHub
# File activerecord/lib/active_record/encryption/auto_filtered_parameters.rb, line 14
def enable
  apply_collected_attributes
  @collecting = false
end
Definition files