app/models/timeful/feed_item.rb in timeful-0.0.1 vs app/models/timeful/feed_item.rb in timeful-1.0.0

- old
+ new

@@ -5,9 +5,9 @@ # Feed items are automatically created by Timeful when an activity is created for all subscribers # of the activty. # # @author Alessandro Desantis class FeedItem < ApplicationRecord - belongs_to :feedable, polymorphic: true + belongs_to :subscriber, polymorphic: true belongs_to :activity end end