remove redundant validation
This commit is contained in:
@@ -31,8 +31,6 @@ class EncryptedConfig < ApplicationRecord
|
|||||||
|
|
||||||
belongs_to :account
|
belongs_to :account
|
||||||
|
|
||||||
validates :key, inclusion: { in: CONFIG_KEYS }
|
|
||||||
|
|
||||||
encrypts :value
|
encrypts :value
|
||||||
|
|
||||||
serialize :value, JSON
|
serialize :value, JSON
|
||||||
|
|||||||
Reference in New Issue
Block a user