From 7728a90cf44690c0b01b83af494df3e44c1cabbf Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Wed, 18 Feb 2015 17:24:28 +0200 Subject: [PATCH] Trying to fix documentable issue --- app/models/epp/contact.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/models/epp/contact.rb b/app/models/epp/contact.rb index d9d9754bf..276b490d6 100644 --- a/app/models/epp/contact.rb +++ b/app/models/epp/contact.rb @@ -5,6 +5,9 @@ class Epp::Contact < Contact # disable STI, there is type column present self.inheritance_column = :sti_disabled + # temp fix + has_many :legal_documents, as: :documentable + class << self # rubocop: disable Metrics/PerceivedComplexity # rubocop: disable Metrics/CyclomaticComplexity