Sha256: 680af31533dceec7652a1fe178bb471538f4ad78ee02357a7c48a693a4cacc60
Contents?: true
Size: 373 Bytes
Versions: 1
Compression:
Stored size: 373 Bytes
Contents
class Tag include DataMapper::Resource property :id, Serial property :name, String has n, :tagged_things, :class_name => "Tagging" has n, :pictures, :through => :tagged_things, :class_name => 'Photo', :child_key => [:tag_id], :remote_name => :photo end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
snusnu-dm-accepts_nested_attributes-0.0.2 | spec/fixtures/tag.rb |