{"action":"created","issue":{"url":"https://api.github.com/repos/charitywater/pg_sequencer/issues/3","repository_url":"https://api.github.com/repos/charitywater/pg_sequencer","labels_url":"https://api.github.com/repos/charitywater/pg_sequencer/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/charitywater/pg_sequencer/issues/3/comments","events_url":"https://api.github.com/repos/charitywater/pg_sequencer/issues/3/events","html_url":"https://github.com/charitywater/pg_sequencer/pull/3","id":131398319,"number":3,"title":"Use prepend and super in preference to alias_method_chain","user":{"login":"nbudin","id":7477,"avatar_url":"https://avatars.githubusercontent.com/u/7477?v=3","gravatar_id":"","url":"https://api.github.com/users/nbudin","html_url":"https://github.com/nbudin","followers_url":"https://api.github.com/users/nbudin/followers","following_url":"https://api.github.com/users/nbudin/following{/other_user}","gists_url":"https://api.github.com/users/nbudin/gists{/gist_id}","starred_url":"https://api.github.com/users/nbudin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbudin/subscriptions","organizations_url":"https://api.github.com/users/nbudin/orgs","repos_url":"https://api.github.com/users/nbudin/repos","events_url":"https://api.github.com/users/nbudin/events{/privacy}","received_events_url":"https://api.github.com/users/nbudin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jasdeepgosal","id":581258,"avatar_url":"https://avatars.githubusercontent.com/u/581258?v=3","gravatar_id":"","url":"https://api.github.com/users/jasdeepgosal","html_url":"https://github.com/jasdeepgosal","followers_url":"https://api.github.com/users/jasdeepgosal/followers","following_url":"https://api.github.com/users/jasdeepgosal/following{/other_user}","gists_url":"https://api.github.com/users/jasdeepgosal/gists{/gist_id}","starred_url":"https://api.github.com/users/jasdeepgosal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasdeepgosal/subscriptions","organizations_url":"https://api.github.com/users/jasdeepgosal/orgs","repos_url":"https://api.github.com/users/jasdeepgosal/repos","events_url":"https://api.github.com/users/jasdeepgosal/events{/privacy}","received_events_url":"https://api.github.com/users/jasdeepgosal/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-02-04T16:20:48Z","updated_at":"2016-02-05T13:01:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/charitywater/pg_sequencer/pulls/3","html_url":"https://github.com/charitywater/pg_sequencer/pull/3","diff_url":"https://github.com/charitywater/pg_sequencer/pull/3.diff","patch_url":"https://github.com/charitywater/pg_sequencer/pull/3.patch"},"body":"This change makes it possible to use pg_sequencer in an app that also uses schema_plus.  Basically, schema_plus's internal dependency schema_monkey relies on `super` to do a lot of its patching work, and `alias_method_chain` breaks that.  See https://github.com/SchemaPlus/schema_monkey/issues/4 for details.\r\n\r\nThis will break support for Ruby 1.8 and 1.9; I'm not sure if those are officially supported anyway."},"comment":{"url":"https://api.github.com/repos/charitywater/pg_sequencer/issues/comments/180346497","html_url":"https://github.com/charitywater/pg_sequencer/pull/3#issuecomment-180346497","issue_url":"https://api.github.com/repos/charitywater/pg_sequencer/issues/3","id":180346497,"user":{"login":"nbudin","id":7477,"avatar_url":"https://avatars.githubusercontent.com/u/7477?v=3","gravatar_id":"","url":"https://api.github.com/users/nbudin","html_url":"https://github.com/nbudin","followers_url":"https://api.github.com/users/nbudin/followers","following_url":"https://api.github.com/users/nbudin/following{/other_user}","gists_url":"https://api.github.com/users/nbudin/gists{/gist_id}","starred_url":"https://api.github.com/users/nbudin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbudin/subscriptions","organizations_url":"https://api.github.com/users/nbudin/orgs","repos_url":"https://api.github.com/users/nbudin/repos","events_url":"https://api.github.com/users/nbudin/events{/privacy}","received_events_url":"https://api.github.com/users/nbudin/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T13:01:30Z","updated_at":"2016-02-05T13:01:30Z","body":"OK, I've fixed the spec.\r\n\r\nWe're on schema_plus_core 0.6.2 and schema_monkey 2.1.3 (and Ruby 2.1.2, in case that makes a difference).  The error we were seeing was an extremely cryptic `SystemStackError: stack level too deep` with no actual backtrace, which I eventually narrowed down to the `super` inside the `tables` method in schema_monkey.  It turns out to be the same issue as described in the link I posted in the description."}}