From 04c0dffb26c639bd15ed1c934f2b3de587eea370 Mon Sep 17 00:00:00 2001 From: f Date: Fri, 19 Apr 2024 15:00:48 -0300 Subject: [PATCH] fix: ignorar has_one_nested --- app/models/metadata_has_one_nested.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/models/metadata_has_one_nested.rb b/app/models/metadata_has_one_nested.rb index ed509013..2f3e8e02 100644 --- a/app/models/metadata_has_one_nested.rb +++ b/app/models/metadata_has_one_nested.rb @@ -8,4 +8,9 @@ class MetadataHasOneNested < MetadataHasOne def nested? true end + + # No tener conflictos con related + def related_methods + @related_methods ||= [].freeze + end end