Limitations of PaperTrail-AssociationTracking
masterUsers should be aware of the following constraints:
- Single Level Only: The gem only reifies the first level of associations. To include nested associations, you must use
:throughrelationships. - Single Table: Currently, only one
version_associationstable can be used to store versions for all related models. - Callback Dependency: Reification relies on ActiveRecord callbacks on the association model (and the
:throughmodel forHas-Many-Through). If associations are changed without triggering these callbacks (e.g., using certain direct ID assignments), reification will not work correctly. - Test Compatibility: The gem is not compatible with transactional tests. You may need to use the
transactional_capybaragem to mitigate this.