repo.or.cz
/
merb_mart.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Updating to reflect changes in DM 0.9.1
[merb_mart.git]
/
app
/
models
/
role.rb
blob
8e9bc6a62891b7bb795149fc57687a1289db9dd7
1
class Role
2
3
include DataMapper::Resource
4
5
property :id, Integer, :serial => true
6
property :name, String
7
property :description, DataMapper::Types::Text
8
9
#many_to_many :users
10
#many_to_many :rights #, :order => 'name ASC'
11
12
end