{"action":"created","issue":{"url":"https://api.github.com/repos/ndchorley/search/issues/1","labels_url":"https://api.github.com/repos/ndchorley/search/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ndchorley/search/issues/1/comments","events_url":"https://api.github.com/repos/ndchorley/search/issues/1/events","html_url":"https://github.com/ndchorley/search/pull/1","id":121461239,"number":1,"title":"Added the method and the various tests","user":{"login":"cakeordeath83","id":7541011,"avatar_url":"https://avatars.githubusercontent.com/u/7541011?v=3","gravatar_id":"","url":"https://api.github.com/users/cakeordeath83","html_url":"https://github.com/cakeordeath83","followers_url":"https://api.github.com/users/cakeordeath83/followers","following_url":"https://api.github.com/users/cakeordeath83/following{/other_user}","gists_url":"https://api.github.com/users/cakeordeath83/gists{/gist_id}","starred_url":"https://api.github.com/users/cakeordeath83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakeordeath83/subscriptions","organizations_url":"https://api.github.com/users/cakeordeath83/orgs","repos_url":"https://api.github.com/users/cakeordeath83/repos","events_url":"https://api.github.com/users/cakeordeath83/events{/privacy}","received_events_url":"https://api.github.com/users/cakeordeath83/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-10T11:16:05Z","updated_at":"2015-12-10T14:52:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ndchorley/search/pulls/1","html_url":"https://github.com/ndchorley/search/pull/1","diff_url":"https://github.com/ndchorley/search/pull/1.diff","patch_url":"https://github.com/ndchorley/search/pull/1.patch"},"body":"It looks like an enormous change because I needed to install bundler (huge file) so that I could install the RSpec gem. \r\n\r\nI'm still convinced there is an easier way to add testing..."},"comment":{"url":"https://api.github.com/repos/ndchorley/search/issues/comments/163648215","html_url":"https://github.com/ndchorley/search/pull/1#issuecomment-163648215","issue_url":"https://api.github.com/repos/ndchorley/search/issues/1","id":163648215,"user":{"login":"ndchorley","id":1155941,"avatar_url":"https://avatars.githubusercontent.com/u/1155941?v=3","gravatar_id":"","url":"https://api.github.com/users/ndchorley","html_url":"https://github.com/ndchorley","followers_url":"https://api.github.com/users/ndchorley/followers","following_url":"https://api.github.com/users/ndchorley/following{/other_user}","gists_url":"https://api.github.com/users/ndchorley/gists{/gist_id}","starred_url":"https://api.github.com/users/ndchorley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndchorley/subscriptions","organizations_url":"https://api.github.com/users/ndchorley/orgs","repos_url":"https://api.github.com/users/ndchorley/repos","events_url":"https://api.github.com/users/ndchorley/events{/privacy}","received_events_url":"https://api.github.com/users/ndchorley/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T14:52:45Z","updated_at":"2015-12-10T14:52:45Z","body":"Ruby's more helpful than I thought :(. Don't use ```select``` for this either! I haven't explained too well what I'm after. Imagine you had to implement ```include``` yourself. How would you do it? \r\n\r\nAnother way of looking at this problem is like so: imagine I gave you a pile of numbered cards and asked you to tell me whether there was a card with 10 on it in the pile. How would you go about doing that?\r\n\r\nI'm not trying to be mean! Problem solving like this will be very useful to you later on, so it's important to start with small problems like this."}}