{"action":"created","issue":{"url":"https://api.github.com/repos/rgeo/rgeo-activerecord/issues/6","labels_url":"https://api.github.com/repos/rgeo/rgeo-activerecord/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/rgeo/rgeo-activerecord/issues/6/comments","events_url":"https://api.github.com/repos/rgeo/rgeo-activerecord/issues/6/events","html_url":"https://github.com/rgeo/rgeo-activerecord/issues/6","id":3570379,"number":6,"title":"Spatial adapter names don't play nice with existing gems","user":{"login":"michael-groble","id":941857,"avatar_url":"https://avatars.githubusercontent.com/u/941857?v=3","gravatar_id":"","url":"https://api.github.com/users/michael-groble","html_url":"https://github.com/michael-groble","followers_url":"https://api.github.com/users/michael-groble/followers","following_url":"https://api.github.com/users/michael-groble/following{/other_user}","gists_url":"https://api.github.com/users/michael-groble/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-groble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-groble/subscriptions","organizations_url":"https://api.github.com/users/michael-groble/orgs","repos_url":"https://api.github.com/users/michael-groble/repos","events_url":"https://api.github.com/users/michael-groble/events{/privacy}","received_events_url":"https://api.github.com/users/michael-groble/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2012-03-08T19:22:59Z","updated_at":"2015-12-25T19:46:43Z","closed_at":"2015-12-25T19:46:43Z","body":"The specific adapters all create a new spatial adapter name on top of the existing database adapter.\r\n\r\nThis causes problems with gems that would otherwise work with the base adapter.\r\n\r\nI've fixed this issue in [activerecord-import](/michael-groble/activerecord-import/commit/19acfd9e63f3c38b82faa3abca3bf27cb476e845), but now am having the problem in [foreigner](/matthuhiggins/foreigner) which has similar adapter [load logic](/matthuhiggins/foreigner/blob/master/lib/foreigner/adapter.rb)\r\n\r\nI'm wondering if there is a way to do this differently in rgeo that doesn't break all these other gems.\r\n"},"comment":{"url":"https://api.github.com/repos/rgeo/rgeo-activerecord/issues/comments/167260186","html_url":"https://github.com/rgeo/rgeo-activerecord/issues/6#issuecomment-167260186","issue_url":"https://api.github.com/repos/rgeo/rgeo-activerecord/issues/6","id":167260186,"user":{"login":"teeparham","id":54017,"avatar_url":"https://avatars.githubusercontent.com/u/54017?v=3","gravatar_id":"","url":"https://api.github.com/users/teeparham","html_url":"https://github.com/teeparham","followers_url":"https://api.github.com/users/teeparham/followers","following_url":"https://api.github.com/users/teeparham/following{/other_user}","gists_url":"https://api.github.com/users/teeparham/gists{/gist_id}","starred_url":"https://api.github.com/users/teeparham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teeparham/subscriptions","organizations_url":"https://api.github.com/users/teeparham/orgs","repos_url":"https://api.github.com/users/teeparham/repos","events_url":"https://api.github.com/users/teeparham/events{/privacy}","received_events_url":"https://api.github.com/users/teeparham/received_events","type":"User","site_admin":false},"created_at":"2015-12-25T19:46:43Z","updated_at":"2015-12-25T19:46:43Z","body":"My guess is that whatever these other gems are doing shouldn't be based on the name of the adapters.\r\n\r\nI'm closing this as it's 3.5 years old."}}