1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00
paper-trail-gem--paper_trail/lib/paper_trail
Phil Coggins bca9aa5edf Removes item_subtype requirement for model-specific limits.
* 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.
2021-07-24 23:23:59 -04:00
..
attribute_serializers Remove vestigial version conditionals 2021-03-21 01:07:08 -04:00
events Remove vestigial version conditionals 2021-03-21 01:07:08 -04:00
frameworks Document and make explicit certain "boot" order 2021-03-18 01:49:53 -04:00
queries/versions Queries: object_changes: Simplify error instantiation 2021-04-06 12:13:04 -04:00
serializers Queries: object_changes: Simplify error instantiation 2021-04-06 12:13:04 -04:00
type_serializers Remove vestigial version conditionals 2021-03-21 01:07:08 -04:00
cleaner.rb Lint: Style/FrozenStringLiteralComment 2017-12-10 23:05:39 -05:00
compatibility.rb Tweak ACTIVERECORD_LT as there won't be a Rails 6.2 2021-04-21 13:07:17 -05:00
config.rb PT-AT is now responsible for testing itself 2019-08-06 02:45:06 -04:00
errors.rb Queries: object_changes: Simplify error instantiation 2021-04-06 12:13:04 -04:00
has_paper_trail.rb No need to send a public method "Object#extend" 2020-10-18 21:24:50 +09:00
model_config.rb Removes item_subtype requirement for model-specific limits. 2021-07-24 23:23:59 -04:00
record_history.rb Lint: Style/FrozenStringLiteralComment 2017-12-10 23:05:39 -05:00
record_trail.rb Remove vestigial version conditionals 2021-03-21 01:07:08 -04:00
reifier.rb Removes item_subtype requirement for model-specific limits. 2021-07-24 23:23:59 -04:00
request.rb Introduce PaperTrail::Error class 2021-04-05 16:14:50 -04:00
version_concern.rb Removes item_subtype requirement for model-specific limits. 2021-07-24 23:23:59 -04:00
version_number.rb Release 12.0.0 2021-03-29 11:34:48 -04:00