Thanks, Dan!

I finally saw something about using :default and tried it.  The error
changed, so that change did help!!!

Here's the situation now: I still cannot use migrations (I get  very
strange error that I'll explain in a subsequent post), but if I create
the table by hand, I can use DataMapper to store my Post object.  So
that's kind of cool!!

Thanks for your help.

-- ge

On Apr 30, 5:22 am, "Dan Kubb (dkubb)" <[email protected]> wrote:
> 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.

Reply via email to