If I made a third model manually and called it cars_people with
person_id and car_id as primary keys I could add rows to it.
(Person.cars_people.new(params) ... I realize his may not be the
correct way, please advise)  But seeing as it was done "through
Resource" I don't know how to create them.


My models:

Cars
property :id, Serial
property :name, String
property :model, String
has n, :people, :through => Resource


People
property :id, Serial
property :name, String
property :model, String
has n, :people, :through => Resource

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