Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 233 Bytes
require 'dm-core'
require 'dm-migrations'
DataMapper.setup(:default, 'mysql://root:root@localhost/modular')
class User
include DataMapper::Resource
property :id, Serial
property :name, String
property :email, String
end