Sha256: 469ad1f0f9e271be60787e7c6b9a446012613032d0223ba40094779bb3196ee1

Contents?: true

Size: 314 Bytes

Versions: 18

Compression:

Stored size: 314 Bytes

Contents

class Comment
  include DataMapper::Resource

  property :id, Serial    
  property :user_id, String
end

class Post
  include DataMapper::Resource
  
  property :id, Serial  
  property :writer, String
end

class Article
  include DataMapper::Resource
  
  property :id, Serial  
  property :author, String  
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
cancan-permits-0.3.12 spec/data_mapper/models/all_models.rb
cancan-permits-0.3.11 spec/data_mapper/models/all_models.rb
cancan-permits-0.3.10 spec/data_mapper/models/all_models.rb
cancan-permits-0.3.9 spec/data_mapper/models/all_models.rb
cancan-permits-0.3.8 spec/data_mapper/models/all_models.rb
cancan-permits-0.3.7 spec/data_mapper/models/all_models.rb
cancan-permits-0.3.6 spec/data_mapper/models/all_models.rb
cancan-permits-0.3.5 spec/data_mapper/models/all_models.rb
cancan-permits-0.3.4 spec/data_mapper/models/all_models.rb
cancan-permits-0.3.2 spec/data_mapper/models/all_models.rb
cancan-permits-0.3.1 spec/data_mapper/models/all_models.rb
cancan-permits-0.3.0 spec/data_mapper/models/all_models.rb
cancan-permits-0.2.9 spec/data_mapper/models/all_models.rb
cancan-permits-0.2.8 spec/data_mapper/models/all_models.rb
cancan-permits-0.2.7 spec/data_mapper/models/all_models.rb
cancan-permits-0.2.5 spec/data_mapper/models/all_models.rb
cancan-permits-0.2.3 spec/data_mapper/models/all_models.rb
cancan-permits-0.2.2 spec/data_mapper/models/all_models.rb