Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class IpAddress
- include DataMapper::Resource
- property :id, String, :key => true
- end
- class Something
- include DataMapper::Resource
- property :id, String, :key => true
- belongs_to :ip_address
- end
Add Comment
Please, Sign In to add comment