On Mar 24, 4:31 pm, Matthew B Gardner <[email protected]> wrote:
> [...] > I think I have the same problem as the OP. > > class Root > include DataMapper::Resource > > property :name, String, :key => true > > def initialize(name) > self.name = name > end > > end > > class Account < Root > > property :password, String > > def initialize(name, password) > super(name) > self.password = password > end > > end For what it's worth I found that moving the "include DataMapper::Resource" line into each resource class and later removing the inheritance all together made these errors go away. 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 -~----------~----~----~----~------~----~------~--~---
