Sha256: 722975011ed9a2f5f1246c005ddffd3e68343c10d3ab00622c08a7db3ba9a297
Contents?: true
Size: 533 Bytes
Versions: 20
Compression:
Stored size: 533 Bytes
Contents
Brillo.configure do |config| ## Add extra tactics for selecting records as you need them # config.add_tactic :oldest, -> (klass) { klass.order(created_at: :desc).limit(1000) } ## Custom obfuscations can also be added # config.add_obfuscation :remove_ls, -> (field) { # field.gsub(/l/, "X") # } ## If you need the context of the entire record being obfuscated, it is available in the second argument # config.add_obfuscation :phone_with_id, -> (field, instance) { # (555_000_0000 + instance.id).to_s # } end
Version data entries
20 entries across 20 versions & 1 rubygems