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
rails_admin-0.4.9 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.4.8 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.4.7 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.4.6 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.4.5 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.4.4 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-lbgraham-0.4.2 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.4.3 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.4.2 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.4.1 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.4.0 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.3.0 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.2.0 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.1.2 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.1.1 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.1.0 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.0.5 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.0.4 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.0.3 spec/dummy_app/app/active_record/cms/basic_page.rb
rails_admin-0.0.2 spec/dummy_app/app/active_record/cms/basic_page.rb