Sha256: e0c4a54c904c0d54db1cca65f7322c5b38798fb8077dc17a858c050402166ee8
Contents?: true
Size: 494 Bytes
Versions: 14
Compression:
Stored size: 494 Bytes
Contents
# Настройки аудитора моделей ModelsAuditor.configure do |config| <% (ModelsAuditor::Config::CONFIG_OPTIONS).each do |option_sym| descr = descriptions[option_sym.to_s].try(:split, "\n").try(:join, "\n # ") concat " # #{descr.force_encoding('ASCII-8BIT')}\n" if descr.present? concat " # config.#{option_sym} = " concat (ModelsAuditor.config.default[option_sym].try(:[], :config) || 'nil').force_encoding('ASCII-8BIT') concat "\n\n" end %> end
Version data entries
14 entries across 14 versions & 1 rubygems