class ActiveRecord::Encryption::AutoFilteredParameters
Public class methods
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
Source code GitHub
# File activerecord/lib/active_record/encryption/auto_filtered_parameters.rb, line 14
def enable
apply_collected_attributes
@collecting = false
end