class TimelineHistoryContent < ApplicationRecord belongs_to :timeline_history has_one :portlet, :as => :content, :dependent => :destroy end