{"action":"created","issue":{"url":"https://api.github.com/repos/Steve998/Assignments/issues/51","labels_url":"https://api.github.com/repos/Steve998/Assignments/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/Steve998/Assignments/issues/51/comments","events_url":"https://api.github.com/repos/Steve998/Assignments/issues/51/events","html_url":"https://github.com/Steve998/Assignments/issues/51","id":60684803,"number":51,"title":"ActiveRecord Query Interface","user":{"login":"brianburridge","id":62898,"avatar_url":"https://avatars.githubusercontent.com/u/62898?v=3","gravatar_id":"","url":"https://api.github.com/users/brianburridge","html_url":"https://github.com/brianburridge","followers_url":"https://api.github.com/users/brianburridge/followers","following_url":"https://api.github.com/users/brianburridge/following{/other_user}","gists_url":"https://api.github.com/users/brianburridge/gists{/gist_id}","starred_url":"https://api.github.com/users/brianburridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianburridge/subscriptions","organizations_url":"https://api.github.com/users/brianburridge/orgs","repos_url":"https://api.github.com/users/brianburridge/repos","events_url":"https://api.github.com/users/brianburridge/events{/privacy}","received_events_url":"https://api.github.com/users/brianburridge/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Steve998/Assignments/labels/activerecord","name":"activerecord","color":"ededed"},{"url":"https://api.github.com/repos/Steve998/Assignments/labels/assignment","name":"assignment","color":"ededed"},{"url":"https://api.github.com/repos/Steve998/Assignments/labels/completed","name":"completed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-11T16:18:59Z","updated_at":"2015-03-16T20:19:58Z","closed_at":null,"body":"_This is assignment 50 and is due on Mar 12, 2015._\n\n* Reread the [ActiveRecord Query Interface doc](http://guides.rubyonrails.org/active_record_querying.html)\r\n* Create a new Rails app, and the four models mentioned in the guide (with proper migrations): Client, Address, Order, Role\r\n* Create just one controller (call it anything), with one action\r\n* Make that one action the root\r\n* Within that controller, try all the query samples from the query guide, section 1.1 (skipping the batches) and sections 2, 3, 4, and 5 and put a comment above as to why each is used.\r\n* The view can just say \"See controller\" (no output is expected)\r\n* No other views or scaffolds are required.\r\n* You many need to create some basic seed data for the four models.\r\n* Don't go overboard and make this too complex."},"comment":{"url":"https://api.github.com/repos/Steve998/Assignments/issues/comments/81916325","html_url":"https://github.com/Steve998/Assignments/issues/51#issuecomment-81916325","issue_url":"https://api.github.com/repos/Steve998/Assignments/issues/51","id":81916325,"user":{"login":"brianburridge","id":62898,"avatar_url":"https://avatars.githubusercontent.com/u/62898?v=3","gravatar_id":"","url":"https://api.github.com/users/brianburridge","html_url":"https://github.com/brianburridge","followers_url":"https://api.github.com/users/brianburridge/followers","following_url":"https://api.github.com/users/brianburridge/following{/other_user}","gists_url":"https://api.github.com/users/brianburridge/gists{/gist_id}","starred_url":"https://api.github.com/users/brianburridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianburridge/subscriptions","organizations_url":"https://api.github.com/users/brianburridge/orgs","repos_url":"https://api.github.com/users/brianburridge/repos","events_url":"https://api.github.com/users/brianburridge/events{/privacy}","received_events_url":"https://api.github.com/users/brianburridge/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T20:19:58Z","updated_at":"2015-03-16T20:19:58Z","body":"I found it."}}