0
0
Fork 0

Removing failed push notification API, make context loads use cache

This commit is contained in:
Eugen Rochko 2017-02-05 17:51:44 +01:00
parent 19b9e1e2c3
commit 77e13c2bc9
9 changed files with 13 additions and 98 deletions

View file

@ -5,7 +5,7 @@ class Favourite < ApplicationRecord
include Streamable
belongs_to :account, inverse_of: :favourites
belongs_to :status, inverse_of: :favourites, touch: true
belongs_to :status, inverse_of: :favourites
has_one :notification, as: :activity, dependent: :destroy