Sha256: d95fc299749af8a731724f1d4db23c716fce5e24de1a4d30c29a173af1660f0b
Contents?: true
Size: 396 Bytes
Versions: 17
Compression:
Stored size: 396 Bytes
Contents
#!/usr/bin/env ruby class RelatedCheck include DataMapper::Resource belongs_to :parent_check, :class_name => "Check", :child_key => [:parent_id] belongs_to :child_check, :class_name => "Check", :child_key => [:child_id] property :id, Serial, :key => true #property :parent_check_id, Integer, :nullable => false #property :child_check_id, Integer, :nullable => false end
Version data entries
17 entries across 17 versions & 1 rubygems