diff options
author | hellekin <hellekin@cepheide.org> | 2021-01-22 22:13:01 +0100 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2021-01-22 22:13:01 +0100 |
commit | 844c8fb8067f5ee817a847b91461093cf6b46455 (patch) | |
tree | 968621c83000bcb070895b00c364c57105621442 /app/models/resource.rb | |
parent | ee7ad7fb4660a33727922f7b0650913759a5538e (diff) | |
download | incommon-map-844c8fb8067f5ee817a847b91461093cf6b46455.tar.gz |
Do not validate associated Agent
Diffstat (limited to 'app/models/resource.rb')
-rw-r--r-- | app/models/resource.rb | 2 |
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, |