{"action":"created","issue":{"url":"https://api.github.com/repos/b2beauty/data_steroid/issues/7","repository_url":"https://api.github.com/repos/b2beauty/data_steroid","labels_url":"https://api.github.com/repos/b2beauty/data_steroid/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/b2beauty/data_steroid/issues/7/comments","events_url":"https://api.github.com/repos/b2beauty/data_steroid/issues/7/events","html_url":"https://github.com/b2beauty/data_steroid/issues/7","id":195791294,"number":7,"title":"Fix .find to support `name`","user":{"login":"vyper","id":22549,"avatar_url":"https://avatars.githubusercontent.com/u/22549?v=3","gravatar_id":"","url":"https://api.github.com/users/vyper","html_url":"https://github.com/vyper","followers_url":"https://api.github.com/users/vyper/followers","following_url":"https://api.github.com/users/vyper/following{/other_user}","gists_url":"https://api.github.com/users/vyper/gists{/gist_id}","starred_url":"https://api.github.com/users/vyper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vyper/subscriptions","organizations_url":"https://api.github.com/users/vyper/orgs","repos_url":"https://api.github.com/users/vyper/repos","events_url":"https://api.github.com/users/vyper/events{/privacy}","received_events_url":"https://api.github.com/users/vyper/received_events","type":"User","site_admin":false},"labels":[{"id":461141959,"url":"https://api.github.com/repos/b2beauty/data_steroid/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-15T12:16:41Z","updated_at":"2016-12-15T12:56:25Z","closed_at":null,"body":"O `.find` hoje suporta somente `id` (ou chave) do tipo numérico.\r\n\r\n[Nesse](https://github.com/b2beauty/data_steroid/blob/master/lib/data_steroid/criteria/findable.rb#L9) trecho:\r\n\r\n```ruby\r\nrun query.where('__key__', '=', gcloud_key(id.to_i, parent: parent))\r\n```\r\n\r\nEle suporta somente `id` do tipo numérico, porque estamos forçando o `#to_i`, mas o correto deveria não interferir o no tipo do `id`.\r\n"},"comment":{"url":"https://api.github.com/repos/b2beauty/data_steroid/issues/comments/267321036","html_url":"https://github.com/b2beauty/data_steroid/issues/7#issuecomment-267321036","issue_url":"https://api.github.com/repos/b2beauty/data_steroid/issues/7","id":267321036,"user":{"login":"giovannibonetti","id":3451581,"avatar_url":"https://avatars.githubusercontent.com/u/3451581?v=3","gravatar_id":"","url":"https://api.github.com/users/giovannibonetti","html_url":"https://github.com/giovannibonetti","followers_url":"https://api.github.com/users/giovannibonetti/followers","following_url":"https://api.github.com/users/giovannibonetti/following{/other_user}","gists_url":"https://api.github.com/users/giovannibonetti/gists{/gist_id}","starred_url":"https://api.github.com/users/giovannibonetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giovannibonetti/subscriptions","organizations_url":"https://api.github.com/users/giovannibonetti/orgs","repos_url":"https://api.github.com/users/giovannibonetti/repos","events_url":"https://api.github.com/users/giovannibonetti/events{/privacy}","received_events_url":"https://api.github.com/users/giovannibonetti/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T12:56:25Z","updated_at":"2016-12-15T12:56:25Z","body":"Concordo. Só depois vamos precisar testar tudo com cuidado pra evitar problemas"}}
{"actor":{"display_login":"giovannibonetti"}}