diff --git a/app/models/metadata_belongs_to.rb b/app/models/metadata_belongs_to.rb index 204d7bed..7ea76725 100644 --- a/app/models/metadata_belongs_to.rb +++ b/app/models/metadata_belongs_to.rb @@ -80,10 +80,6 @@ class MetadataBelongsTo < MetadataRelatedPosts posts.find_by(post_id: value_was)&.post if value_was.present? end - def related_posts? - true - end - def related_methods @related_methods ||= %i[belongs_to belonged_to].freeze end diff --git a/app/models/metadata_template.rb b/app/models/metadata_template.rb index e40bd891..60bd7681 100644 --- a/app/models/metadata_template.rb +++ b/app/models/metadata_template.rb @@ -171,10 +171,6 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type, true end - def related_posts? - false - end - # Métodos relacionados # # @return [Array]