{"action":"created","issue":{"url":"https://api.github.com/repos/MIT-IR/abet/issues/69","labels_url":"https://api.github.com/repos/MIT-IR/abet/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/MIT-IR/abet/issues/69/comments","events_url":"https://api.github.com/repos/MIT-IR/abet/issues/69/events","html_url":"https://github.com/MIT-IR/abet/pull/69","id":88591559,"number":69,"title":"Allow editing of outcomes","user":{"login":"derekprior","id":152152,"avatar_url":"https://avatars.githubusercontent.com/u/152152?v=3","gravatar_id":"","url":"https://api.github.com/users/derekprior","html_url":"https://github.com/derekprior","followers_url":"https://api.github.com/users/derekprior/followers","following_url":"https://api.github.com/users/derekprior/following{/other_user}","gists_url":"https://api.github.com/users/derekprior/gists{/gist_id}","starred_url":"https://api.github.com/users/derekprior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekprior/subscriptions","organizations_url":"https://api.github.com/users/derekprior/orgs","repos_url":"https://api.github.com/users/derekprior/repos","events_url":"https://api.github.com/users/derekprior/events{/privacy}","received_events_url":"https://api.github.com/users/derekprior/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-16T02:11:49Z","updated_at":"2015-06-16T14:10:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/MIT-IR/abet/pulls/69","html_url":"https://github.com/MIT-IR/abet/pull/69","diff_url":"https://github.com/MIT-IR/abet/pull/69.diff","patch_url":"https://github.com/MIT-IR/abet/pull/69.patch"},"body":"Outcomes and their alignments can now be edited. The desire to have all\nstandard outcomes listed on the outcome form leads to some interesting\ncontroller code to ensure that each standard outcome is represented in\nthe alignments collection, at least in-memory.\n\nWe also wanted the alignments to be sorted, but I could not convince\nRails and `fields_for` to order the in memory collection appropriately\naccording to the `name` field, regardless of whether the object is\npersisted or not. Ultimately, I used jQuery to handle the re-order of\nthe alignment fields. This works imperceptibly in my experience so I\nthink it's okay."},"comment":{"url":"https://api.github.com/repos/MIT-IR/abet/issues/comments/112445680","html_url":"https://github.com/MIT-IR/abet/pull/69#issuecomment-112445680","issue_url":"https://api.github.com/repos/MIT-IR/abet/issues/69","id":112445680,"user":{"login":"mrgilman","id":1314085,"avatar_url":"https://avatars.githubusercontent.com/u/1314085?v=3","gravatar_id":"","url":"https://api.github.com/users/mrgilman","html_url":"https://github.com/mrgilman","followers_url":"https://api.github.com/users/mrgilman/followers","following_url":"https://api.github.com/users/mrgilman/following{/other_user}","gists_url":"https://api.github.com/users/mrgilman/gists{/gist_id}","starred_url":"https://api.github.com/users/mrgilman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrgilman/subscriptions","organizations_url":"https://api.github.com/users/mrgilman/orgs","repos_url":"https://api.github.com/users/mrgilman/repos","events_url":"https://api.github.com/users/mrgilman/events{/privacy}","received_events_url":"https://api.github.com/users/mrgilman/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T14:10:50Z","updated_at":"2015-06-16T14:10:50Z","body":":lollipop: "}}