George > * **DataMapper.auto_migrate!* > > When the last statement is reached, it gives the error:
Try either naming the repository (connection) you setup as :default rather than :testing, that should solve the problem. In DM, the "default" repository is called :default, so unless you're within a different repository scope, using DataMapper.auto_migrate! will execute within the :default repository scope. Unless you are doing something with multiple repositories I would suggest always just using the default. -- Dan (dkubb) -- 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.
