I apologize for asking something that may be very trivial:

in a One-to-many association (using SQLite) I define the parent model
with e.g. has 1, :Skill
AND the child with belongs_to :Character right?
I thought for the life of my you do both.  I keep getting an error
back during db:create from SQLite as it is trying to create to
Character_id columns on the Skills table... why would it do that?
I confirmed that's the problem by taking out the has 1, :Skill from
the Character model (parent).
Is this a SQLite adapter thing or a DM thing or am I just horribly
confused?

--

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