paper-trail-gem--paper_trail/lib/paper_trail/attribute_serializers
Jared Beck 932bf22347 Fix NameError when pg is not loaded
Most apps only load a single db adapter gem.

A MySQL app, for example will not load the pg gem.

See https://github.com/airblade/paper_trail/issues/1022
2017-12-10 02:34:40 -05:00
..
README.md Break AttributesSerialization into small modules 2016-05-18 23:12:45 -04:00
attribute_serializer_factory.rb Fix NameError when pg is not loaded 2017-12-10 02:34:40 -05:00
cast_attribute_serializer.rb Serializing postgres arrays (#1018) 2017-12-08 11:44:40 -05:00
object_attribute.rb An idea to combat model pollution 2016-06-06 01:18:31 -04:00
object_changes_attribute.rb An idea to combat model pollution 2016-06-06 01:18:31 -04:00

README.md

Attribute Serializers

"Serialization" here refers to the preparation of data for insertion into a database, particularly the object and object_changes columns in the versions table.

Likewise, "deserialization" refers to any processing of data after they have been read from the database, for example preparing the result of VersionConcern#changeset.