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