跳至内容 跳至搜索
方法
E
N

类公共方法

new(app)

# 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

实例公共方法

enable()

# File activerecord/lib/active_record/encryption/auto_filtered_parameters.rb, line 14
def enable
  apply_collected_attributes
  @collecting = false
end