]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/user_preference.rb
Use the conventional 'destroy' method name for destroying traces
[rails.git] / app / models / user_preference.rb
index 37bab38b0ccb7c6f5ff481e0efc234a01aa18d2d..d5cad3978c81f087cacee2b13f3e152aa87df506 100644 (file)
@@ -11,7 +11,7 @@
 #  user_preferences_user_id_fkey  (user_id => users.id)
 #
 
-class UserPreference < ActiveRecord::Base
+class UserPreference < ApplicationRecord
   self.primary_keys = "user_id", "k"
 
   belongs_to :user