mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
fbac7a6de8
This refactoring encapsulates the process of reification, separating it from the model (VersionConcern). The ABC complexity score of VersionConcern (measured by flog) is reduced from 750 to 362, a 52% reduction. Finally, this refactoring provides a truely private namespace for methods like `reify_has_many_through`. Such methods will no longer be mixed into PaperTrail::Version, or end-user's version models, if any. |
||
---|---|---|
.. | ||
generators/paper_trail | ||
paper_trail | ||
paper_trail.rb |