mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 21:25:39 +02:00
Merge pull request #1531 from internetee/1530-remove-warnings-on-cron-jobs
Fix warnings on cron jobs
This commit is contained in:
commit
82fb8c29cf
1 changed files with 1 additions and 1 deletions
|
@ -1,10 +1,10 @@
|
|||
# Papertrail concerns is mainly tested at country spec
|
||||
module Versions
|
||||
extend ActiveSupport::Concern
|
||||
WITH_CHILDREN = %w[Domain Contact].freeze
|
||||
|
||||
included do
|
||||
attr_accessor :version_loader
|
||||
WITH_CHILDREN = %w[Domain Contact].freeze
|
||||
|
||||
if WITH_CHILDREN.include?(model_name.name)
|
||||
has_paper_trail class_name: "#{model_name}Version", meta: { children: :children_log }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue