Sha256: 158f7409c0513dcbd9a36ed63339c325af2018d9e542224743af4609a1592d67
Contents?: true
Size: 244 Bytes
Versions: 8
Compression:
Stored size: 244 Bytes
Contents
class PagePart < ::ActiveRecord::Base belongs_to :partable, :polymorphic => true validates_presence_of :key, :partable_type validates_uniqueness_of :key, :scope => [:partable_type, :partable_id] attr_accessible :key, :content end
Version data entries
8 entries across 8 versions & 2 rubygems