{"action":"created","issue":{"url":"https://api.github.com/repos/Shopify/teaspoon-bundle/issues/1","repository_url":"https://api.github.com/repos/Shopify/teaspoon-bundle","labels_url":"https://api.github.com/repos/Shopify/teaspoon-bundle/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/teaspoon-bundle/issues/1/comments","events_url":"https://api.github.com/repos/Shopify/teaspoon-bundle/issues/1/events","html_url":"https://github.com/Shopify/teaspoon-bundle/pull/1","id":157695908,"number":1,"title":"fix for rails 5","user":{"login":"kevinhughes27","id":1965489,"avatar_url":"https://avatars.githubusercontent.com/u/1965489?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinhughes27","html_url":"https://github.com/kevinhughes27","followers_url":"https://api.github.com/users/kevinhughes27/followers","following_url":"https://api.github.com/users/kevinhughes27/following{/other_user}","gists_url":"https://api.github.com/users/kevinhughes27/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinhughes27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinhughes27/subscriptions","organizations_url":"https://api.github.com/users/kevinhughes27/orgs","repos_url":"https://api.github.com/users/kevinhughes27/repos","events_url":"https://api.github.com/users/kevinhughes27/events{/privacy}","received_events_url":"https://api.github.com/users/kevinhughes27/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-31T15:08:59Z","updated_at":"2016-05-31T17:55:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Shopify/teaspoon-bundle/pulls/1","html_url":"https://github.com/Shopify/teaspoon-bundle/pull/1","diff_url":"https://github.com/Shopify/teaspoon-bundle/pull/1.diff","patch_url":"https://github.com/Shopify/teaspoon-bundle/pull/1.patch"},"body":"In Rails 5 controller parameters are no longer a hash and are instead an instance of `ActionController::Parameters` causing the `teaspoon-bundle` to crash in the view. \r\n\r\nEasiest fix is to convert it back into a hash using http://api.rubyonrails.org/classes/ActionController/Parameters.html#method-i-to_h. \r\n\r\n`to_h` can be safely called on regular ruby hashes as well having no affect.\r\n\r\nI added a new app under the test directory to show this working.\r\n\r\n@bouk  "},"comment":{"url":"https://api.github.com/repos/Shopify/teaspoon-bundle/issues/comments/222767902","html_url":"https://github.com/Shopify/teaspoon-bundle/pull/1#issuecomment-222767902","issue_url":"https://api.github.com/repos/Shopify/teaspoon-bundle/issues/1","id":222767902,"user":{"login":"kevinhughes27","id":1965489,"avatar_url":"https://avatars.githubusercontent.com/u/1965489?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinhughes27","html_url":"https://github.com/kevinhughes27","followers_url":"https://api.github.com/users/kevinhughes27/followers","following_url":"https://api.github.com/users/kevinhughes27/following{/other_user}","gists_url":"https://api.github.com/users/kevinhughes27/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinhughes27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinhughes27/subscriptions","organizations_url":"https://api.github.com/users/kevinhughes27/orgs","repos_url":"https://api.github.com/users/kevinhughes27/repos","events_url":"https://api.github.com/users/kevinhughes27/events{/privacy}","received_events_url":"https://api.github.com/users/kevinhughes27/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T17:55:00Z","updated_at":"2016-05-31T17:55:00Z","body":"I didn't want to override it since some big applications are still on 4.2.6 I thought we should keep it around."}}
{"actor":{"display_login":"kevinhughes27"}}