Sha256: 680980d85ba3faca19fffc505ed5712bc16139dbf015b6da255ab1f67fb82983

Contents?: true

Size: 245 Bytes

Versions: 6

Compression:

Stored size: 245 Bytes

Contents

require 'datamapper'
HaveCode.enable_datamapper
DataMapper.setup(:default, 'sqlite3::memory:')
class Goblet
  include DataMapper::Resource
  property :id, Serial
  property :name, String
  property :material, String
end
DataMapper.auto_upgrade!

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
bkerley-have-code-0.1.1 test/data_mapper_helper.rb
bkerley-have-code-0.1.2 test/data_mapper_helper.rb
bkerley-have-code-0.1.3 test/data_mapper_helper.rb
have-code-0.2.0 test/data_mapper_helper.rb
have-code-0.1.2 test/data_mapper_helper.rb
have-code-0.1.3 test/data_mapper_helper.rb