{"action":"created","issue":{"url":"https://api.github.com/repos/YaleSTC/reservations/issues/1482","repository_url":"https://api.github.com/repos/YaleSTC/reservations","labels_url":"https://api.github.com/repos/YaleSTC/reservations/issues/1482/labels{/name}","comments_url":"https://api.github.com/repos/YaleSTC/reservations/issues/1482/comments","events_url":"https://api.github.com/repos/YaleSTC/reservations/issues/1482/events","html_url":"https://github.com/YaleSTC/reservations/pull/1482","id":131930477,"number":1482,"title":"[1479] Fix issue with editing overdue reservations [master]","user":{"login":"orenyk","id":901808,"avatar_url":"https://avatars.githubusercontent.com/u/901808?v=3","gravatar_id":"","url":"https://api.github.com/users/orenyk","html_url":"https://github.com/orenyk","followers_url":"https://api.github.com/users/orenyk/followers","following_url":"https://api.github.com/users/orenyk/following{/other_user}","gists_url":"https://api.github.com/users/orenyk/gists{/gist_id}","starred_url":"https://api.github.com/users/orenyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orenyk/subscriptions","organizations_url":"https://api.github.com/users/orenyk/orgs","repos_url":"https://api.github.com/users/orenyk/repos","events_url":"https://api.github.com/users/orenyk/events{/privacy}","received_events_url":"https://api.github.com/users/orenyk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/YaleSTC/reservations/labels/2%20-%20Working","name":"2 - Working","color":"CCCCCC"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-07T03:32:12Z","updated_at":"2016-02-10T07:14:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/YaleSTC/reservations/pulls/1482","html_url":"https://github.com/YaleSTC/reservations/pull/1482","diff_url":"https://github.com/YaleSTC/reservations/pull/1482.diff","patch_url":"https://github.com/YaleSTC/reservations/pull/1482.patch"},"body":"Resolves #1479 on master with specs!\r\n- add before_save callback to reservation model to update the\r\n  overdue flag for checked out reservations to match the due date\r\n- add note to Reservation#update when toggling the overdue parameter\r\n- update Rails Admin to v0.8.1 to allow editing of reservations\r\n- updated broken specs\r\n- added new specs for this behavior"},"comment":{"url":"https://api.github.com/repos/YaleSTC/reservations/issues/comments/182234264","html_url":"https://github.com/YaleSTC/reservations/pull/1482#issuecomment-182234264","issue_url":"https://api.github.com/repos/YaleSTC/reservations/issues/1482","id":182234264,"user":{"login":"orenyk","id":901808,"avatar_url":"https://avatars.githubusercontent.com/u/901808?v=3","gravatar_id":"","url":"https://api.github.com/users/orenyk","html_url":"https://github.com/orenyk","followers_url":"https://api.github.com/users/orenyk/followers","following_url":"https://api.github.com/users/orenyk/following{/other_user}","gists_url":"https://api.github.com/users/orenyk/gists{/gist_id}","starred_url":"https://api.github.com/users/orenyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orenyk/subscriptions","organizations_url":"https://api.github.com/users/orenyk/orgs","repos_url":"https://api.github.com/users/orenyk/repos","events_url":"https://api.github.com/users/orenyk/events{/privacy}","received_events_url":"https://api.github.com/users/orenyk/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T07:14:15Z","updated_at":"2016-02-10T07:14:15Z","body":"Good catches, it's a hold over from #1274 and I wanted to keep things consistent. I'll update and re-push."}}