Sha256: d41899a16c0670ffbd915c1c812e9f0e8c77163e727a91fbc02073f904395262

Contents?: true

Size: 235 Bytes

Versions: 1

Compression:

Stored size: 235 Bytes

Contents

class ManageableContent::PageContent < ActiveRecord::Base
  belongs_to :page, :touch => true

  attr_accessible :content

  validates :page_id, :presence => true
  validates :key, :presence => true

  default_scope order('key ASC')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
manageable_content-0.0.1 app/models/manageable_content/page_content.rb