{"action":"opened","issue":{"url":"https://api.github.com/repos/kjswartz/Assignments/issues/35","labels_url":"https://api.github.com/repos/kjswartz/Assignments/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/kjswartz/Assignments/issues/35/comments","events_url":"https://api.github.com/repos/kjswartz/Assignments/issues/35/events","html_url":"https://github.com/kjswartz/Assignments/issues/35","id":58111660,"number":35,"title":"Validations and Associations","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/kjswartz/Assignments/labels/activerecord","name":"activerecord","color":"d99385"},{"url":"https://api.github.com/repos/kjswartz/Assignments/labels/assignment","name":"assignment","color":"ededed"},{"url":"https://api.github.com/repos/kjswartz/Assignments/labels/models","name":"models","color":"d15454"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-18T19:00:15Z","updated_at":"2015-02-18T19:00:15Z","closed_at":null,"body":"_This is assignment 34 and is due on Feb 19, 2015._\n\n* [Read Active Record Validations](http://guides.rubyonrails.org/active_record_validations.html)\r\n* [Read Active Record Associations](http://guides.rubyonrails.org/association_basics.html)\r\n* Continuing with your app from assignment 33, add a second model (use the migration generator) and use a _reference_ and _belongs_to/has_many_ relationship.\r\n* Also add at least three validations between the two models.\r\n* Test your model relationships in the rails console to be sure they work.\r\n"}}