remove redundant validation

This commit is contained in:
Alex Turchyn committed 2023-08-27 16:08:25 +03:00
1 parent 12dd96e34c
commit b6f68ddde3
1 file changed
-2
-2
View File
@@ -31,8 +31,6 @@ class EncryptedConfig < ApplicationRecord
belongs_to :account
validates :key, inclusion: { in: CONFIG_KEYS }
encrypts :value
serialize :value, JSON