{"action":"created","issue":{"url":"https://api.github.com/repos/thiagopradi/octopus/issues/321","labels_url":"https://api.github.com/repos/thiagopradi/octopus/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/thiagopradi/octopus/issues/321/comments","events_url":"https://api.github.com/repos/thiagopradi/octopus/issues/321/events","html_url":"https://github.com/thiagopradi/octopus/pull/321","id":99460084,"number":321,"title":"Replace Module#include & alias_method_chain with Module#prepend & super","user":{"login":"ronen","id":125620,"avatar_url":"https://avatars.githubusercontent.com/u/125620?v=3","gravatar_id":"","url":"https://api.github.com/users/ronen","html_url":"https://github.com/ronen","followers_url":"https://api.github.com/users/ronen/followers","following_url":"https://api.github.com/users/ronen/following{/other_user}","gists_url":"https://api.github.com/users/ronen/gists{/gist_id}","starred_url":"https://api.github.com/users/ronen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronen/subscriptions","organizations_url":"https://api.github.com/users/ronen/orgs","repos_url":"https://api.github.com/users/ronen/repos","events_url":"https://api.github.com/users/ronen/events{/privacy}","received_events_url":"https://api.github.com/users/ronen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-06T15:14:57Z","updated_at":"2016-01-28T14:19:02Z","closed_at":"2016-01-28T14:18:48Z","pull_request":{"url":"https://api.github.com/repos/thiagopradi/octopus/pulls/321","html_url":"https://github.com/thiagopradi/octopus/pull/321","diff_url":"https://github.com/thiagopradi/octopus/pull/321.diff","patch_url":"https://github.com/thiagopradi/octopus/pull/321.patch"},"body":"As of ruby 2.0, `Module` supports `#prepend`, which allows derivation-style overriding using `super`, rather than the old-style insertion and `alias_method_chain` hack.  See, e.g., [this blog post](http://dev.af83.com/2012/10/19/ruby-2-0-module-prepend.html)\r\n\r\nAside from being generally cleaner, and the direction [rails is going](http://weblog.rubyonrails.org/2015/3/27/this-week-in-rails-goodbye-alias_method_chain-postgresql-typecasting-and-more/), this PR specifically fixes the inifinite recursion reported in SchemaPlus/schema_monkey#4\r\n"},"comment":{"url":"https://api.github.com/repos/thiagopradi/octopus/issues/comments/176203881","html_url":"https://github.com/thiagopradi/octopus/pull/321#issuecomment-176203881","issue_url":"https://api.github.com/repos/thiagopradi/octopus/issues/321","id":176203881,"user":{"login":"sobrinho","id":26460,"avatar_url":"https://avatars.githubusercontent.com/u/26460?v=3","gravatar_id":"","url":"https://api.github.com/users/sobrinho","html_url":"https://github.com/sobrinho","followers_url":"https://api.github.com/users/sobrinho/followers","following_url":"https://api.github.com/users/sobrinho/following{/other_user}","gists_url":"https://api.github.com/users/sobrinho/gists{/gist_id}","starred_url":"https://api.github.com/users/sobrinho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sobrinho/subscriptions","organizations_url":"https://api.github.com/users/sobrinho/orgs","repos_url":"https://api.github.com/users/sobrinho/repos","events_url":"https://api.github.com/users/sobrinho/events{/privacy}","received_events_url":"https://api.github.com/users/sobrinho/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T14:19:02Z","updated_at":"2016-01-28T14:19:02Z","body":"Makes sense, I will remove the 1.9.3 from travis matrix, thanks!"}}