Sha256: 61317acb83e258d64dec94718ee675e687ac369dd8bd2aa3731a34f21f1d13ec

Contents?: true

Size: 188 Bytes

Versions: 21

Compression:

Stored size: 188 Bytes

Contents

module Cms
  class BasicPage < ActiveRecord::Base
    self.table_name = :cms_basic_pages

    attr_accessible :title, :content

    validates :title, :content, :presence => true
  end
end

Version data entries

21 entries across 21 versions & 3 rubygems

Version Path
upstream-rails_admin-1.0.2 spec/dummy_app/app/active_record/cms/basic_page.rb