{"action":"created","issue":{"url":"https://api.github.com/repos/rollbar/rollbar-gem/issues/223","labels_url":"https://api.github.com/repos/rollbar/rollbar-gem/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/rollbar/rollbar-gem/issues/223/comments","events_url":"https://api.github.com/repos/rollbar/rollbar-gem/issues/223/events","html_url":"https://github.com/rollbar/rollbar-gem/pull/223","id":58961533,"number":223,"title":"Move `ActiveRecord` patching into `require_hooks`","user":{"login":"brandur","id":96890,"avatar_url":"https://avatars.githubusercontent.com/u/96890?v=3","gravatar_id":"","url":"https://api.github.com/users/brandur","html_url":"https://github.com/brandur","followers_url":"https://api.github.com/users/brandur/followers","following_url":"https://api.github.com/users/brandur/following{/other_user}","gists_url":"https://api.github.com/users/brandur/gists{/gist_id}","starred_url":"https://api.github.com/users/brandur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandur/subscriptions","organizations_url":"https://api.github.com/users/brandur/orgs","repos_url":"https://api.github.com/users/brandur/repos","events_url":"https://api.github.com/users/brandur/events{/privacy}","received_events_url":"https://api.github.com/users/brandur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-25T20:08:37Z","updated_at":"2015-02-26T15:34:37Z","closed_at":"2015-02-26T10:03:30Z","pull_request":{"url":"https://api.github.com/repos/rollbar/rollbar-gem/pulls/223","html_url":"https://github.com/rollbar/rollbar-gem/pull/223","diff_url":"https://github.com/rollbar/rollbar-gem/pull/223.diff","patch_url":"https://github.com/rollbar/rollbar-gem/pull/223.patch"},"body":"This allows it to respect the `disable_monkey_patch` configuration option like the extensions for Rack, Rake, Sidekiq, etc. already do.\r\n\r\nWe have a project that still uses an ActiveRecord 2* version and this patch doesn't apply itself correctly to versions from that era. More generally, we're also just trying to reduce the amount of monkey patching that we're doing overall.\r\n\r\nAre there any known issues with activating the `ActiveRecord` patch at the same time as the others? Thanks!"},"comment":{"url":"https://api.github.com/repos/rollbar/rollbar-gem/issues/comments/76198648","html_url":"https://github.com/rollbar/rollbar-gem/pull/223#issuecomment-76198648","issue_url":"https://api.github.com/repos/rollbar/rollbar-gem/issues/223","id":76198648,"user":{"login":"jondeandres","id":122581,"avatar_url":"https://avatars.githubusercontent.com/u/122581?v=3","gravatar_id":"","url":"https://api.github.com/users/jondeandres","html_url":"https://github.com/jondeandres","followers_url":"https://api.github.com/users/jondeandres/followers","following_url":"https://api.github.com/users/jondeandres/following{/other_user}","gists_url":"https://api.github.com/users/jondeandres/gists{/gist_id}","starred_url":"https://api.github.com/users/jondeandres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jondeandres/subscriptions","organizations_url":"https://api.github.com/users/jondeandres/orgs","repos_url":"https://api.github.com/users/jondeandres/repos","events_url":"https://api.github.com/users/jondeandres/events{/privacy}","received_events_url":"https://api.github.com/users/jondeandres/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T15:34:37Z","updated_at":"2015-02-26T15:34:37Z","body":"Thanks to you ;-)"}}