From 844c8fb8067f5ee817a847b91461093cf6b46455 Mon Sep 17 00:00:00 2001 From: hellekin Date: Fri, 22 Jan 2021 22:13:01 +0100 Subject: Do not validate associated Agent --- app/models/resource.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/models/resource.rb b/app/models/resource.rb index bde0c56..c76a9c6 100644 --- a/app/models/resource.rb +++ b/app/models/resource.rb @@ -14,7 +14,7 @@ class Resource < ApplicationRecord store_accessor :feature, :geometry, :properties - validates_associated :agent +# validates_associated :agent validates :name, presence: true, -- cgit v1.2.3