Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Rails 3.1.0+ compatibility (and a few other minor improvements) #32

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

Empact
Copy link

@Empact Empact commented Dec 19, 2011

Hey there,

I made some improvements to spatial adapter to get it working under Rails 3.1.0 for my own use, and posted about fork here: #26

Several people have confirmed that it works for them and one has suggested a pull request, so here it is.

One issue, which I noted in my original comment to that thread:

I have a working fix, but still an outstanding issue or two. Most notably, the schema dumper doesn't seem to be picking up its extensions, when run from within my rails project. The schema dumper specs pass.

Also note I've only been testing on postgres.

Empact added 13 commits August 14, 2011 16:15
…odule, with most methods relying directly on super rather than aliasing. Have some failures when moving the rest - not sure why.
…n until after active record has been loaded.
…oncern module, with most methods relying directly on super rather than aliasing. Have some failures when moving the rest - not sure why."

Was having trouble with module methods not overriding the base methods after inclusion - not sure what the cause for that was.

This reverts commit 9a2a657.

Conflicts:

	lib/spatial_adapter/postgresql.rb
… detect their success, and properly remove the created indices
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant