On 27 September 2010 07:53, <[email protected]> wrote:

> I've included the new version of you gem + dm-migrations and
> dm-is-versioned,
> but I'm still getting errors whenever I try to add has_geographic_location
> to
> any of my models. The error I am getting is:
>
> DataMapper::RepositoryNotSetupError: Adapter not set: default. Did you
> forget to
> setup?
>
> Is this something you are aware is not currently working or is there
> something
> on my end that is conflicting with the way dm-geokit is working?
>

I did realize that I put in an option on defining the geographic property
that made it stop failing when dm-validations is included, however now it
fails when dm-validations *isn't* included. :-P

Can you try including dm-validations as well? Also, if you check the spec
directory in spec_helper.rb there are definitions that all pass. You may
double check what you're doing vs. what's in the spec.

-Matt

-- 
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