[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.

what_i_serialize.rb

Should help yo with solving errors like this:

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

UPD: