{"action":"opened","issue":{"url":"https://api.github.com/repos/rails/rails/issues/26137","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/26137/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/26137/comments","events_url":"https://api.github.com/repos/rails/rails/issues/26137/events","html_url":"https://github.com/rails/rails/issues/26137","id":170858953,"number":26137,"title":"PostreSQL OID Bit column type issue on Rails 5","user":{"login":"morgoth","id":10766,"avatar_url":"https://avatars.githubusercontent.com/u/10766?v=3","gravatar_id":"","url":"https://api.github.com/users/morgoth","html_url":"https://github.com/morgoth","followers_url":"https://api.github.com/users/morgoth/followers","following_url":"https://api.github.com/users/morgoth/following{/other_user}","gists_url":"https://api.github.com/users/morgoth/gists{/gist_id}","starred_url":"https://api.github.com/users/morgoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morgoth/subscriptions","organizations_url":"https://api.github.com/users/morgoth/orgs","repos_url":"https://api.github.com/users/morgoth/repos","events_url":"https://api.github.com/users/morgoth/events{/privacy}","received_events_url":"https://api.github.com/users/morgoth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-12T12:18:02Z","updated_at":"2016-08-12T12:18:02Z","closed_at":null,"body":"On upgrade to Rails 5, I have issue with Postgres `bit` column type and overwriting reader method\r\nYou can see the issue: https://gist.github.com/morgoth/1d3725b3e73b91e164d5e20a81221e8f\r\n\r\nIt was working fine on Rails 4.2, now it raises:\r\n```\r\nNoMethodError: undefined method `[]' for #<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Bit::Data:0x00557ede32d2c0>\r\n```\r\n### System configuration\r\n**Rails version**: 5.0.0\r\n\r\n**Ruby version**: 2.3.1\r\n\r\n"}}
{"actor":{"display_login":"morgoth"}}