collectiveidea / audited

Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.
MIT License
3.34k stars 645 forks source link

Add YAML safe load documentation #708

Open nazamoresco opened 2 months ago

nazamoresco commented 2 months ago

Hey,

We updated to Rails 6.1.6.1 in our project. For this upgrade, we had to define config.active_record.yaml_column_permitted_classes so the audited gem would work. We used the classes defined in the source code test's application.rb.

I think a warning in the documentation that this has to be defined for some Rails versions would be useful for developers using the gem. I can open a PR if this information belongs in the audited README.