Sha256: 7cb0a8fd4eaf8fa78ca25f464206c7307bc3b9e35ee3d191699c936e47cffa81
Contents?: true
Size: 634 Bytes
Versions: 14
Compression:
Stored size: 634 Bytes
Contents
# -*- coding: utf-8 -*- module DataMapper module Validations module Fixtures # see http://datamapper.lighthouseapp.com/projects/20609/tickets/671 class Page # # Behaviors # include DataMapper::Resource # # Properties # property :id, Serial, :key => true property :body, Text, :required => true # # Validations # # duplicates inferred validation for body (caused by # :required => true) validates_presence_of :body end end # Fixtures end # Validations end # DataMapper
Version data entries
14 entries across 14 versions & 2 rubygems