{"action":"created","issue":{"url":"https://api.github.com/repos/kclauser/assignments/issues/14","labels_url":"https://api.github.com/repos/kclauser/assignments/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/kclauser/assignments/issues/14/comments","events_url":"https://api.github.com/repos/kclauser/assignments/issues/14/events","html_url":"https://github.com/kclauser/assignments/issues/14","id":106609626,"number":14,"title":"Assignment 4-2 - Dictionary Search","user":{"login":"gstark","id":2607,"avatar_url":"https://avatars.githubusercontent.com/u/2607?v=3","gravatar_id":"","url":"https://api.github.com/users/gstark","html_url":"https://github.com/gstark","followers_url":"https://api.github.com/users/gstark/followers","following_url":"https://api.github.com/users/gstark/following{/other_user}","gists_url":"https://api.github.com/users/gstark/gists{/gist_id}","starred_url":"https://api.github.com/users/gstark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gstark/subscriptions","organizations_url":"https://api.github.com/users/gstark/orgs","repos_url":"https://api.github.com/users/gstark/repos","events_url":"https://api.github.com/users/gstark/events{/privacy}","received_events_url":"https://api.github.com/users/gstark/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"kclauser","id":13937315,"avatar_url":"https://avatars.githubusercontent.com/u/13937315?v=3","gravatar_id":"","url":"https://api.github.com/users/kclauser","html_url":"https://github.com/kclauser","followers_url":"https://api.github.com/users/kclauser/followers","following_url":"https://api.github.com/users/kclauser/following{/other_user}","gists_url":"https://api.github.com/users/kclauser/gists{/gist_id}","starred_url":"https://api.github.com/users/kclauser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kclauser/subscriptions","organizations_url":"https://api.github.com/users/kclauser/orgs","repos_url":"https://api.github.com/users/kclauser/repos","events_url":"https://api.github.com/users/kclauser/events{/privacy}","received_events_url":"https://api.github.com/users/kclauser/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-09-15T17:52:24Z","updated_at":"2015-09-16T14:00:53Z","closed_at":"2015-09-16T14:00:53Z","body":"### Description\r\n\r\nYour homework tonight is two parts.\r\n\r\n#### Part A\r\n\r\nComplete the search functionality for the application we built in class today.\r\nJason has already implemented the search action in the web app and deployed it to the \"cloud\".\r\n\r\nWe need to write the code for `/search` that will look for a query parameter named `q`. The code should search for all matches and reply with only the matching entries via a JSON response _identical_ to the format of the main word list:\r\n\r\n```json\r\n[\r\n    {\r\n        \"definition\": \"Awesome\",\r\n        \"word\": \"Ruby\"\r\n    },\r\n    {\r\n        \"definition\": \"Internet Mascot\",\r\n        \"word\": \"Cat\"\r\n    },\r\n    {\r\n        \"definition\": \"Instructor\",\r\n        \"word\": \"Gavin\"\r\n    }\r\n]\r\n```\r\n\r\nYou can find the web app Jason wrote at: http://tiy-tpa-ruby-q3-2015.github.io/web-dict-static/\r\n\r\nThis app will use your local ruby app for it's functionality.\r\n\r\n#### Part B\r\n\r\nAs part of your experience at the The Iron Yard, it's important to start establishing a presence on the web that will extend beyond just the portfolio of code you are writing.\r\n\r\nThe second part of your assignment today is to create a blog (if you don't have one already) and write a blog post about your experiences at The Iron Yard so far. The Iron Yard likes to share these writings from student occasionally, you can [read some examples](http://blog.theironyard.com/category/stories/).\r\n\r\nIf you don't already have a Blog, I recommend using https://medium.com/. You can also look at services like Tumbler or Blogspot.\r\n\r\nYou might also like to publish the assignement from a few weeks ago, where you wrote about the history of the web.\r\n\r\n### Objectives\r\n\r\n* Understand AJAX and JSON responses\r\n* Understand working with JSON data\r\n\r\n### Deliverables\r\n\r\n- [x] a link to your fork of the original repo.\r\n- [x] a link to your blog post.\r\n\r\n## Explorer Mode\r\n\r\n- [ ] Fork [the project I started today](https://github.com/tiy-tpa-ruby-q3-2015/web-dictionary-ruby) in class to your own repo (Click the 'Fork' button on the top right of the repo page, it will create a copy of the repo under your account, which you can then clone to your computer with `git clone PUT_THE_CLONE_URL_HERE`). NOTE: You will not have to `git init` or `git remote add` this time.\r\n- [ ] Implement the search feature!\r\n\r\nOnce you've cloned the app, `cd` into it and run:\r\n\r\n    ruby web_dictionary.rb\r\n\r\nOnce you've completed the assignment, you can commit the changes to your own fork and push them to Github with the standard `git add`, `git commit` and `git push` commands.\r\n\r\n## Adventure Mode\r\n\r\n- [ ] Try saving the file in a different format so we don't have to split on \" = \" -- Consider keeping the list in an array, but store hashes instead, then consider YAML or JSON for storing the data to the file. Both YAML and JSON have ways to dump data to, and load back from, a file.\r\n"},"comment":{"url":"https://api.github.com/repos/kclauser/assignments/issues/comments/140750598","html_url":"https://github.com/kclauser/assignments/issues/14#issuecomment-140750598","issue_url":"https://api.github.com/repos/kclauser/assignments/issues/14","id":140750598,"user":{"login":"kclauser","id":13937315,"avatar_url":"https://avatars.githubusercontent.com/u/13937315?v=3","gravatar_id":"","url":"https://api.github.com/users/kclauser","html_url":"https://github.com/kclauser","followers_url":"https://api.github.com/users/kclauser/followers","following_url":"https://api.github.com/users/kclauser/following{/other_user}","gists_url":"https://api.github.com/users/kclauser/gists{/gist_id}","starred_url":"https://api.github.com/users/kclauser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kclauser/subscriptions","organizations_url":"https://api.github.com/users/kclauser/orgs","repos_url":"https://api.github.com/users/kclauser/repos","events_url":"https://api.github.com/users/kclauser/events{/privacy}","received_events_url":"https://api.github.com/users/kclauser/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T14:00:53Z","updated_at":"2015-09-16T14:00:53Z","body":"https://medium.com/@kclauser/my-iron-life-7279deb3cf3c\r\nhttps://github.com/kclauser/web-dictionary-ruby"}}