{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/34605","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/34605/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/34605/comments","events_url":"https://api.github.com/repos/rails/rails/issues/34605/events","html_url":"https://github.com/rails/rails/pull/34605","id":386739149,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1Mzg1OTg0","number":34605,"title":"option to disable all scopes that `ActiveRecord.enum` generates","user":{"login":"alfie-max","id":8247590,"node_id":"MDQ6VXNlcjgyNDc1OTA=","avatar_url":"https://avatars1.githubusercontent.com/u/8247590?v=4","gravatar_id":"","url":"https://api.github.com/users/alfie-max","html_url":"https://github.com/alfie-max","followers_url":"https://api.github.com/users/alfie-max/followers","following_url":"https://api.github.com/users/alfie-max/following{/other_user}","gists_url":"https://api.github.com/users/alfie-max/gists{/gist_id}","starred_url":"https://api.github.com/users/alfie-max/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfie-max/subscriptions","organizations_url":"https://api.github.com/users/alfie-max/orgs","repos_url":"https://api.github.com/users/alfie-max/repos","events_url":"https://api.github.com/users/alfie-max/events{/privacy}","received_events_url":"https://api.github.com/users/alfie-max/received_events","type":"User","site_admin":false},"labels":[{"id":107191,"node_id":"MDU6TGFiZWwxMDcxOTE=","url":"https://api.github.com/repos/rails/rails/labels/activerecord","name":"activerecord","color":"0b02e1","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/rails/rails/milestones/63","html_url":"https://github.com/rails/rails/milestone/63","labels_url":"https://api.github.com/repos/rails/rails/milestones/63/labels","id":2828826,"node_id":"MDk6TWlsZXN0b25lMjgyODgyNg==","number":63,"title":"6.0.0","description":"","creator":{"login":"rafaelfranca","id":47848,"node_id":"MDQ6VXNlcjQ3ODQ4","avatar_url":"https://avatars3.githubusercontent.com/u/47848?v=4","gravatar_id":"","url":"https://api.github.com/users/rafaelfranca","html_url":"https://github.com/rafaelfranca","followers_url":"https://api.github.com/users/rafaelfranca/followers","following_url":"https://api.github.com/users/rafaelfranca/following{/other_user}","gists_url":"https://api.github.com/users/rafaelfranca/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelfranca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelfranca/subscriptions","organizations_url":"https://api.github.com/users/rafaelfranca/orgs","repos_url":"https://api.github.com/users/rafaelfranca/repos","events_url":"https://api.github.com/users/rafaelfranca/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelfranca/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":44,"state":"open","created_at":"2017-10-10T22:08:21Z","updated_at":"2018-12-03T16:17:35Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2018-12-03T09:58:43Z","updated_at":"2018-12-03T16:21:00Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/34605","html_url":"https://github.com/rails/rails/pull/34605","diff_url":"https://github.com/rails/rails/pull/34605.diff","patch_url":"https://github.com/rails/rails/pull/34605.patch"},"body":"### Summary\r\n\r\nFixes #34599 \r\n\r\nBy default `ActiveRecord.enum` generates several default scopes based on the values. This PR adds an option to disable those scopes which could possibly cause conflicts with existing methods for the model.\r\n\r\n<!-- Provide a general description of the code changes in your pull\r\nrequest... were there any bugs you had fixed? If so, mention them. If\r\nthese bugs have open GitHub issues, be sure to tag them here as well,\r\nto keep the conversation linked together. -->\r\n\r\n### Other Information\r\n\r\n<!-- If there's anything else that's important and relevant to your pull\r\nrequest, mention that information here. This could include\r\nbenchmarks, or other information.\r\n\r\nIf you are updating any of the CHANGELOG files or are asked to update the\r\nCHANGELOG files by reviewers, please add the CHANGELOG entry at the top of the file.\r\n\r\nFinally, if your pull request affects documentation or any non-code\r\nchanges, guidelines for those changes are [available\r\nhere](http://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#contributing-to-the-rails-documentation)\r\n\r\nThanks for contributing to Rails! -->\r\n"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/443770104","html_url":"https://github.com/rails/rails/pull/34605#issuecomment-443770104","issue_url":"https://api.github.com/repos/rails/rails/issues/34605","id":443770104,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mzc3MDEwNA==","user":{"login":"alfie-max","id":8247590,"node_id":"MDQ6VXNlcjgyNDc1OTA=","avatar_url":"https://avatars1.githubusercontent.com/u/8247590?v=4","gravatar_id":"","url":"https://api.github.com/users/alfie-max","html_url":"https://github.com/alfie-max","followers_url":"https://api.github.com/users/alfie-max/followers","following_url":"https://api.github.com/users/alfie-max/following{/other_user}","gists_url":"https://api.github.com/users/alfie-max/gists{/gist_id}","starred_url":"https://api.github.com/users/alfie-max/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfie-max/subscriptions","organizations_url":"https://api.github.com/users/alfie-max/orgs","repos_url":"https://api.github.com/users/alfie-max/repos","events_url":"https://api.github.com/users/alfie-max/events{/privacy}","received_events_url":"https://api.github.com/users/alfie-max/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T16:21:00Z","updated_at":"2018-12-03T16:21:00Z","author_association":"NONE","body":"@SamSaffron added a test.. Not sure if that would suffice. Actually caught a case which i missed which would be the default case while adding the test. "}}
{"actor":{"display_login":"alfie-max"}}