{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/22596","labels_url":"https://api.github.com/repos/rails/rails/issues/22596/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/22596/comments","events_url":"https://api.github.com/repos/rails/rails/issues/22596/events","html_url":"https://github.com/rails/rails/pull/22596","id":122192104,"number":22596,"title":"remove extra spaces from deprecation message","user":{"login":"y-yagi","id":987638,"avatar_url":"https://avatars.githubusercontent.com/u/987638?v=3","gravatar_id":"","url":"https://api.github.com/users/y-yagi","html_url":"https://github.com/y-yagi","followers_url":"https://api.github.com/users/y-yagi/followers","following_url":"https://api.github.com/users/y-yagi/following{/other_user}","gists_url":"https://api.github.com/users/y-yagi/gists{/gist_id}","starred_url":"https://api.github.com/users/y-yagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/y-yagi/subscriptions","organizations_url":"https://api.github.com/users/y-yagi/orgs","repos_url":"https://api.github.com/users/y-yagi/repos","events_url":"https://api.github.com/users/y-yagi/events{/privacy}","received_events_url":"https://api.github.com/users/y-yagi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"eileencodes","id":1080678,"avatar_url":"https://avatars.githubusercontent.com/u/1080678?v=3","gravatar_id":"","url":"https://api.github.com/users/eileencodes","html_url":"https://github.com/eileencodes","followers_url":"https://api.github.com/users/eileencodes/followers","following_url":"https://api.github.com/users/eileencodes/following{/other_user}","gists_url":"https://api.github.com/users/eileencodes/gists{/gist_id}","starred_url":"https://api.github.com/users/eileencodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eileencodes/subscriptions","organizations_url":"https://api.github.com/users/eileencodes/orgs","repos_url":"https://api.github.com/users/eileencodes/repos","events_url":"https://api.github.com/users/eileencodes/events{/privacy}","received_events_url":"https://api.github.com/users/eileencodes/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-12-15T04:33:51Z","updated_at":"2015-12-15T04:33:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/22596","html_url":"https://github.com/rails/rails/pull/22596","diff_url":"https://github.com/rails/rails/pull/22596.diff","patch_url":"https://github.com/rails/rails/pull/22596.patch"},"body":"```\r\n# before\r\nDEPRECATION WARNING:               Time columns will become time zone aware in Rails 5.1. This\r\n              still causes `String`s to be parsed as if they were in `Time.zone`,\r\n              and `Time`s to be converted to `Time.zone`.\r\n\r\n              To keep the old behavior, you must add the following to your initializer:\r\n\r\n                  config.active_record.time_zone_aware_types = [:datetime]\r\n\r\n              To silence this deprecation warning, add the following:\r\n\r\n                  config.active_record.time_zone_aware_types << :time\r\n```\r\n\r\n```\r\n# after\r\nDEPRECATION WARNING: Time columns will become time zone aware in Rails 5.1. This\r\nstill causes `String`s to be parsed as if they were in `Time.zone`,\r\nand `Time`s to be converted to `Time.zone`.\r\n\r\nTo keep the old behavior, you must add the following to your initializer:\r\n\r\n    config.active_record.time_zone_aware_types = [:datetime]\r\n\r\nTo silence this deprecation warning, add the following:\r\n\r\n    config.active_record.time_zone_aware_types << :time\r\n```"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/164642844","html_url":"https://github.com/rails/rails/pull/22596#issuecomment-164642844","issue_url":"https://api.github.com/repos/rails/rails/issues/22596","id":164642844,"user":{"login":"rails-bot","id":7468109,"avatar_url":"https://avatars.githubusercontent.com/u/7468109?v=3","gravatar_id":"","url":"https://api.github.com/users/rails-bot","html_url":"https://github.com/rails-bot","followers_url":"https://api.github.com/users/rails-bot/followers","following_url":"https://api.github.com/users/rails-bot/following{/other_user}","gists_url":"https://api.github.com/users/rails-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/rails-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails-bot/subscriptions","organizations_url":"https://api.github.com/users/rails-bot/orgs","repos_url":"https://api.github.com/users/rails-bot/repos","events_url":"https://api.github.com/users/rails-bot/events{/privacy}","received_events_url":"https://api.github.com/users/rails-bot/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T04:33:58Z","updated_at":"2015-12-15T04:33:58Z","body":"r? @eileencodes\n\n(@rails-bot has picked a reviewer for you, use r? to override)"}}