I think it'd be fairly hard to check which order the methods were defined On Mon, Oct 12, 2009 at 6:34 AM, Ashley Moran <[email protected] > wrote:
> > > On Oct 12, 2009, at 1:16 am, Jacques Crocker wrote: > > > Nah, I think you misunderstand. The class method > > self.default_repository_name has to be *immediately* after the > > include DataMapper::Resource. If you put it at the bottom of the > > class, then it throws the error. > > > > Seems like a pretty serious bug. Trying to track down the cause now. > > Hopefully should be able to submit a patch... > > Maybe the bug is that setting the default_repository_name after a > property does not raise an error? > > Ashley > > -- > http://www.patchspace.co.uk/ > http://www.linkedin.com/in/ashleymoran > http://aviewfromafar.net/ > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
