aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2021-01-22 22:13:01 +0100
committerhellekin <hellekin@cepheide.org>2021-01-22 22:13:01 +0100
commit844c8fb8067f5ee817a847b91461093cf6b46455 (patch)
tree968621c83000bcb070895b00c364c57105621442 /app
parentee7ad7fb4660a33727922f7b0650913759a5538e (diff)
downloadincommon-map-844c8fb8067f5ee817a847b91461093cf6b46455.tar.gz
Do not validate associated Agent
Diffstat (limited to 'app')
-rw-r--r--app/models/resource.rb2
1 files changed, 1 insertions, 1 deletions
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,