X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/461f99dfe03ed0dfea2d973378e0ace70134c199..ab4de87d1eef4546a96738154cf81b7d7f72d988:/app/models/user_preference.rb diff --git a/app/models/user_preference.rb b/app/models/user_preference.rb index d5cad3978..741aa335a 100644 --- a/app/models/user_preference.rb +++ b/app/models/user_preference.rb @@ -16,6 +16,6 @@ class UserPreference < ApplicationRecord belongs_to :user - validates :user, :presence => true, :associated => true + validates :user, :associated => true validates :k, :v, :length => 1..255, :characters => true end