I've got a DM::Resource class define in a gem, and then I subclass it
in an app of mine.  It basically looks like:

module Twinkies
  class Item
    include DataMapper::Resource
    property :id, :serial => true
    property :body, String
  end
end

class Item < Twinkies::Item
  has n, :twitter_users
end

When I run DM::auto_migrate! from the app, it creates id and body but
not twitter_user_id.  I've also tried putting in a
"property :twitter_user_id, Integer" as well as a couple other test
fields, and they don't get created upon auto-migrate.

I just started using DM last night so I assume I'm doing something
wrong...I just don't know what it is.  I'd appreciate any insight.

Thanks,
Pat
--~--~---------~--~----~------------~-------~--~----~
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