X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8938ab79975d4152a4d6d3c8ceafdbda30b6b367..c3a14b195b9be06e653d4c362be862dd53edd704:/app/models/user_preference.rb?ds=sidebyside 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