{"action":"opened","issue":{"url":"https://api.github.com/repos/Nucleo-235/roupa-livre-api/issues/1","repository_url":"https://api.github.com/repos/Nucleo-235/roupa-livre-api","labels_url":"https://api.github.com/repos/Nucleo-235/roupa-livre-api/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Nucleo-235/roupa-livre-api/issues/1/comments","events_url":"https://api.github.com/repos/Nucleo-235/roupa-livre-api/issues/1/events","html_url":"https://github.com/Nucleo-235/roupa-livre-api/issues/1","id":178482808,"number":1,"title":"Dúvida: como será feito o select","user":{"login":"mfdavid","id":40629,"avatar_url":"https://avatars.githubusercontent.com/u/40629?v=3","gravatar_id":"","url":"https://api.github.com/users/mfdavid","html_url":"https://github.com/mfdavid","followers_url":"https://api.github.com/users/mfdavid/followers","following_url":"https://api.github.com/users/mfdavid/following{/other_user}","gists_url":"https://api.github.com/users/mfdavid/gists{/gist_id}","starred_url":"https://api.github.com/users/mfdavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfdavid/subscriptions","organizations_url":"https://api.github.com/users/mfdavid/orgs","repos_url":"https://api.github.com/users/mfdavid/repos","events_url":"https://api.github.com/users/mfdavid/events{/privacy}","received_events_url":"https://api.github.com/users/mfdavid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-21T22:58:27Z","updated_at":"2016-09-21T22:58:27Z","closed_at":null,"body":"Como será feito o select no banco para obter os dados das roupas a partir da geolocalização? Não entendi o motivo de colocar os índice latitude e longitude no usuário:\r\n\r\n`add_index :users, [:lat, :lng] `\r\n\r\nComo está usando postgreSQL, acho que a melhor forma de fazer a busca seria usando a extensão postgis (http://postgis.net), não?"}}
{"actor":{"display_login":"mfdavid"}}