]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/user_preference.rb
Don't update deactivates_at if block was already viewed
[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