]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/diary_entry_subscription.rb
Add patch/put api message update
[rails.git] / app / models / diary_entry_subscription.rb
index 6e9a103adafac0d1315ecd1e956ff32cfc0abc2e..93b8847f433f655ee673ad339053f5dd460ec126 100644 (file)
@@ -15,9 +15,7 @@
 #  diary_entry_subscriptions_user_id_fkey         (user_id => users.id)
 #
 
-class DiaryEntrySubscription < ActiveRecord::Base
-  self.primary_keys = "user_id", "diary_entry_id"
-
+class DiaryEntrySubscription < ApplicationRecord
   belongs_to :user
   belongs_to :diary_entry
 end