mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
bca9aa5edf
* When enforcing limits for a model, it was previously required to have the item_subtype column on the versions table to obtain the configured limit for a given model type, especially for models subclassed via STI. * This change instead references the item on the version record, which is already available via the association cache, to determine the properly configured limit. This change drops the requirement of having item_subtype to configure model-specific limits. |
||
---|---|---|
.. | ||
attribute_serializers | ||
events | ||
serializers | ||
cleaner_spec.rb | ||
compatibility_spec.rb | ||
config_spec.rb | ||
model_config_spec.rb | ||
model_spec.rb | ||
request_spec.rb | ||
serializer_spec.rb | ||
version_limit_spec.rb | ||
version_number_spec.rb | ||
version_spec.rb |