Hi,

Is it possible to break a table in two Ruby objects? Ex:

Ruby objects:

class Pessoa
        property :id,            Serial
        property :name,           String
end
class Address
        property :street,           String
        property :city,           String
end

Table:

table Person
id number
name varchar
city varchar
street varchar

How can i make the "connection" between them And is it possible to make the
inverse? (table Person and Address to a single Ruby object Person)

Thks in advance,

-- 
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