Sha256: 4d630eaf5cbad1cfaf22d88e7ad28bf0c08fb81c87111e63160ecd0683c3c7f6
Contents?: true
Size: 562 Bytes
Versions: 15
Compression:
Stored size: 562 Bytes
Contents
module Ardm module Fixtures class TShirt < ::Ardm::Record self.table_name = "tshirts" property :id, Serial property :writing, String property :has_picture, Boolean, :default => false, :required => true property :picture, Enum[:octocat, :fork_you, :git_down] property :color, Enum[:white, :black, :red, :orange, :yellow, :green, :cyan, :blue, :purple] property :size, Flag[:xs, :small, :medium, :large, :xl, :xxl], :default => :xs end # Shirt end # Fixtures end # Ardm
Version data entries
15 entries across 15 versions & 1 rubygems