Hi,
I'd like to do something like this with DataMapper:
<pre>
class Model
include DataMapper::Resource
# common methods
end
class Foo < Model
# Foo specific details
end
</pre>
But I think this is triggering DM's single table inheritance as the
generated queries
are looking for an attribute "model_id", even though I haven't used a
discriminator
property.
Is there some way to do this without triggering STI in DataMapper?
Thanks,
Stu
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---