Module: Logidze::IgnoreLogData::CastAttributePatch
- Defined in:
- lib/logidze/ignore_log_data/cast_attribute_patch.rb
Overview
Fixes unexpected behavior (see more github.com/rails/rails/pull/34528): instead of using a type passed to ‘attribute` call, ignored column uses a type coming from the DB (in this case `.log_data` would return a plain hash instead of `Logidze::History`)