X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f99c383318c4f9ea15639f0566f3e42db4e2c8b1..4dcedf666c62e9132de7de50105f567b7963318b:/app/models/diary_entry_subscription.rb?ds=sidebyside diff --git a/app/models/diary_entry_subscription.rb b/app/models/diary_entry_subscription.rb index 6e9a103ad..ed6de79e4 100644 --- a/app/models/diary_entry_subscription.rb +++ b/app/models/diary_entry_subscription.rb @@ -15,7 +15,7 @@ # diary_entry_subscriptions_user_id_fkey (user_id => users.id) # -class DiaryEntrySubscription < ActiveRecord::Base +class DiaryEntrySubscription < ApplicationRecord self.primary_keys = "user_id", "diary_entry_id" belongs_to :user