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 |