]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/user_preference.rb
Use fetch() instead of iframe to make remote control requests
[rails.git] / app / models / user_preference.rb
index 741aa335aca9c2f2375cb09bbe0093912e07115e..5b91bbda91badfe4f4242c9fc6a5a563b4cdcd19 100644 (file)
@@ -12,8 +12,6 @@
 #
 
 class UserPreference < ApplicationRecord
 #
 
 class UserPreference < ApplicationRecord
-  self.primary_keys = "user_id", "k"
-
   belongs_to :user
 
   validates :user, :associated => true
   belongs_to :user
 
   validates :user, :associated => true