{"action":"created","issue":{"url":"https://api.github.com/repos/customink/secondbase/issues/35","repository_url":"https://api.github.com/repos/customink/secondbase","labels_url":"https://api.github.com/repos/customink/secondbase/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/customink/secondbase/issues/35/comments","events_url":"https://api.github.com/repos/customink/secondbase/issues/35/events","html_url":"https://github.com/customink/secondbase/issues/35","id":162192266,"number":35,"title":"HABTM Support?","user":{"login":"hut8","id":363720,"avatar_url":"https://avatars3.githubusercontent.com/u/363720?v=3","gravatar_id":"","url":"https://api.github.com/users/hut8","html_url":"https://github.com/hut8","followers_url":"https://api.github.com/users/hut8/followers","following_url":"https://api.github.com/users/hut8/following{/other_user}","gists_url":"https://api.github.com/users/hut8/gists{/gist_id}","starred_url":"https://api.github.com/users/hut8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hut8/subscriptions","organizations_url":"https://api.github.com/users/hut8/orgs","repos_url":"https://api.github.com/users/hut8/repos","events_url":"https://api.github.com/users/hut8/events{/privacy}","received_events_url":"https://api.github.com/users/hut8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-06-24T17:20:59Z","updated_at":"2017-03-05T14:49:25Z","closed_at":null,"body":"Thanks very much for the gem!\n\nI just moved a table (`users`) into its own database to facilitate sharing user data between two applications. In my data model, users HABTM organizations. Organizations are specific to each application, so the HABTM table (`organizations_users`) belongs on the original, non-secondbase database. It looks like secondbase actually causes the query generated to assume that it's in the secondbase. Is there a way to override this?\n"},"comment":{"url":"https://api.github.com/repos/customink/secondbase/issues/comments/284232748","html_url":"https://github.com/customink/secondbase/issues/35#issuecomment-284232748","issue_url":"https://api.github.com/repos/customink/secondbase/issues/35","id":284232748,"user":{"login":"zx1986","id":118997,"avatar_url":"https://avatars3.githubusercontent.com/u/118997?v=3","gravatar_id":"","url":"https://api.github.com/users/zx1986","html_url":"https://github.com/zx1986","followers_url":"https://api.github.com/users/zx1986/followers","following_url":"https://api.github.com/users/zx1986/following{/other_user}","gists_url":"https://api.github.com/users/zx1986/gists{/gist_id}","starred_url":"https://api.github.com/users/zx1986/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zx1986/subscriptions","organizations_url":"https://api.github.com/users/zx1986/orgs","repos_url":"https://api.github.com/users/zx1986/repos","events_url":"https://api.github.com/users/zx1986/events{/privacy}","received_events_url":"https://api.github.com/users/zx1986/received_events","type":"User","site_admin":false},"created_at":"2017-03-05T14:49:24Z","updated_at":"2017-03-05T14:49:24Z","body":"@hut8 I have the same issue as you. Have you figure out how to do this with secondbase? I am planning to write a scope to do this with raw SQL."}}
{"actor":{"display_login":"zx1986"}}