mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
![]() Breaking change. Going forward, PT's default serializer (PaperTrail::Serializers::YAML) will use `safe_load` unless `ActiveRecord.use_yaml_unsafe_load`. PT users are required to configure `ActiveRecord.yaml_column_permitted_classes` correctly for their own application. Users may want to start with the following safe-list: ```ruby ::ActiveRecord.use_yaml_unsafe_load = false ::ActiveRecord.yaml_column_permitted_classes = [ ::ActiveRecord::Type::Time::Value, ::ActiveSupport::TimeWithZone, ::ActiveSupport::TimeZone, ::BigDecimal, ::Date, ::Symbol, ::Time ] ``` |
||
---|---|---|
.. | ||
bug_report_template.rb | ||
pt_13_yaml_safe_load.md | ||
triage.md | ||
warning_about_not_setting_whodunnit.md |