Trying to fix documentable issue

This commit is contained in:
Priit Tark 2015-02-18 17:24:28 +02:00
parent e52a79a813
commit 7728a90cf4

View file

@ -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