X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7e5cbe87ed37f9cba8224fa4049047d7f981f66a..4e97231269dae821d60a557bf8f966282f17be5c:/app/models/user_preference.rb diff --git a/app/models/user_preference.rb b/app/models/user_preference.rb index 741aa335a..5b91bbda9 100644 --- a/app/models/user_preference.rb +++ b/app/models/user_preference.rb @@ -12,8 +12,6 @@ # class UserPreference < ApplicationRecord - self.primary_keys = "user_id", "k" - belongs_to :user validates :user, :associated => true