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? Quoting arbales <[email protected]>: > I'm not sure what you mean by splitting of dm-migrations. > I, personally, see no reason why there should be an > enforced dependency on migrations or versioned, but I do > think being able to auto_upgrade is important. I use it for > development, and even occasionally for production. > > > > > On Sep 23, 5:51 pm, Matt King <[email protected]> wrote: > > Hi all, > > > > Thanks to some help on #datamapper from dkubb and others, I've gotten > > dm-geokit compatible with dm-core-1.0.2. The only spec I can't get to > > currently pass in searching for locations while also filtering on an > > association...for example: > > > > Location.all(:address.near => {:origin => "portland, or", :distance => > > 1.mi}, "category.name" => "Example Category") > > > > will not currently work. > > > > Talking with some folks on #datamapper, I think I'm going to re-tool how > > some of the internals work. But for now at least (most) of the expected > > functionality works with dm-core-1.0.2. > > > > dm-geokit now depends some more gems, since functionality was split off > into > > separate gems starting with dm-core-1.0: > > > > dm-is-versioned > > dm-migrations > > > > I'm debating whether to keep these in or not, I'm leaning towards taking > > them out and letting users upgrade/migrate their schemas as needed. > > > > Anyway, you should now be able to gem install dm-geokit and get the latest > > version. You can also check the source > athttp://github.com/mattking17/dm-geokit > > > > -Matt > > > > On 22 September 2010 14:43, Mike S <[email protected]> wrote: > > > > > Have you worked on this at all Matt? I still can't get > > > has_geographic_address working. > > > > > -- > > > 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]<datamapper%2bunsubscr...@googlegrou > ps.com> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/datamapper?hl=en. > > > > -- > > Matt King > > [email protected] > > -- > 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. > > -- 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.
