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