app/models/flexible_feeds/event.rb in flexible_feeds-0.3.6 vs app/models/flexible_feeds/event.rb in flexible_feeds-0.4.0

- old
+ new

@@ -1,8 +1,7 @@ module FlexibleFeeds class Event < ActiveRecord::Base belongs_to :ancestor, class_name: "FlexibleFeeds::Event" - belongs_to :creator, polymorphic: true belongs_to :eventable, polymorphic: true belongs_to :parent, class_name: "FlexibleFeeds::Event" has_many :children, class_name: "FlexibleFeeds::Event", foreign_key: :parent_id