Story #109367694 - refactor: move UserEvents include up, wrap method in included block, say self

This commit is contained in:
Matt Farnsworth 2015-12-14 11:28:26 +02:00
parent b7e560aacc
commit 7b2767eb08
5 changed files with 23 additions and 22 deletions

View file

@ -1,5 +1,6 @@
# rubocop: disable Metrics/ClassLength
class Domain < ActiveRecord::Base
include UserEvents
include Versions # version/domain_version.rb
include Statuses
has_paper_trail class_name: "DomainVersion", meta: { children: :children_log }