[CVE-2022-32224] Psych::DisallowedClass Update helper script

I created a script that helps to figure out what needs to be whitelisted after the CVE-2022-32224 update. It pluck all serialized attributes from all of your models and will print out the types that found. If your database is big, then you may need some tweaking.


Should help yo with solving errors like this:

Error after upgrading to Rails Psych::DisallowedClass: Tried to load unspecified class: ActiveSupport::TimeWithZone