Sha256: 7485f8f638189d44f4515693c06b8108100c82448a4e94d8179fae458b566df8

Contents?: true

Size: 147 Bytes

Versions: 4

Compression:

Stored size: 147 Bytes

Contents

module Theblog
  class Page < ContentNode
    validates_presence_of :title, :slug, :body
    validates_uniqueness_of :slug, scope: :type
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
theblog-0.0.2.3 app/models/theblog/page.rb
theblog-0.0.2.2 app/models/theblog/page.rb
theblog-0.0.2.1 app/models/theblog/page.rb
theblog-0.0.2 app/models/theblog/page.rb