Skip to content

Instantly share code, notes, and snippets.

View TeWu's full-sized avatar
💭
Loading...

Tomasz Więch TeWu

💭
Loading...
View GitHub Profile
@TeWu
TeWu / ev.rb
Created August 2, 2011 23:47 — forked from dkubb/ev.rb
Poor-man's Embedded Value
class User
include DataMapper::Resource
property :id, Serial
property :username, String, :required => true, :unique => true
property :address_street_address, String
property :address_location, String
property :address_subdivision, String
property :address_country, String