class Player
[snip]
has 1, :guild_rank, 'GuildRank', :required => false
end

class GuildRank
  include DataMapper::Resource

  property :id, Serial
  property :status, Enum[:member, :leader, :officer], :default
=> :member

  belongs_to :player
  belongs_to :guild
end

Any idea why I would be getting this error?

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to